.NET
åçªã«PC98æ代ã«ãã使ããã¦ããMAGç»åå½¢å¼ãã¡ã¤ã«ãèªã¿è¾¼ãããã°ã©ã ãC#ã«ç§»æ¤ãã¦ã¿ã¾ãããï¼ï¼ï¼åã®ç»åã§ãã試ãã¦ãªãã®ã§ãã°ãããããã // è¬è¾ // MITH(T.Saito)æ°ã®ï¼·ï¼¡ï¼¢âï¼³ç¨ãã«ãã°ã©ãã£ãã¯ãã¼ã WMLã®ã½ã¼ã¹ãåèã«ããã¦ããâ¦
MefContribã«ã¯ã¸ã§ããªãã¯ç¨ã®GenericCatalogã¯ã©ã¹ãããã¾ããããã使ãã¨ãªã¼ãã³ã¸ã§ããªãã¯åãã¨ã¯ã¹ãã¼ããããã¨ãã§ãã¾ãããã ãããã¥ã¡ã³ãä¸è¶³ãªä¸ã«ãã¡ãã£ã¨çãããããã§ããå ¬éããã¤ã³ã¿ãã§ã¼ã¹ã¯ããããªæãã§ãã // ãã®ã¤â¦
MefContribã«Castle以å¤ã«ãLinFu.DynamicProxyãå«ã¾ãã¦ããã®ã§å¼ã£ã¦ã¿ãã®ã§ãããã©ãã«ã使ãæ¹ãåããã¾ããã using LinFu.DynamicProxy; public class MyInterceptor : IInterceptor { public object Intercept(InvocationInfo info) { return inâ¦
éå»ã«ä¼¼ããããªãã¨ããã£ãæ°ããã¾ãããä»åã¯MefContribã使ã£ãä¸å¿ãæ£å¼ã£ã½ãæ¹æ³ã§ã using System; using System.Linq; using System.Reflection; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Primitiveâ¦
ReSharperã¯ã³ã¼ãåæãã¦nullåç §ãçºçããå¯è½æ§ãããã¨ãããææããæ©è½ãããã¾ãã ãã®ããã«è©²å½ç®æã«æ³¢ç·ãåºã¦ä¾¿å©ã§ããããããã¡ã½ããã®æ»ãå¤ãnullã®å ´åã¯ãæ®å¿µãªãããã§ãã¯ããã¾ããã ãã ããã®æ©è½ã¯ã«ã¹ã¿ã å±æ§ã使ããã¦ãâ¦
MefContrib.MVC3ã«ãã£ã¦çæããããAppStart_MefContribMVC3.csã«ã¯ãMEFã使ç¨ããããã®åæåã³ã¼ããããã¾ããããã®ã³ã¼ãã¯èª°ãå¼ã³åºãã¦ããã®ã§ããããï¼ [assembly: WebActivator.PreApplicationStartMethod(typeof(TestMvcApplication.App_Stâ¦
MefContrib.MVC3ã使ãã¨ç°¡åã«ASP.NET MVCããMEFã使ããã®ã§ãç´¹ä»ãåæï¼NuGetãã¤ã³ã¹ãã¼ã«æ¸ã¿ãªãã¨ãã¾ããASP.NET MVC3ã®ããã¸ã§ã¯ãã®ç¨æãã¾ããããASP.NET MVC3ãé¸æã é¢åãªã®ã§ããã©ã«ãå®è£ ããã§ã ã§ã¯ãMEFã使ããããã«ãã¾ããâ¦
å°ãã¿ãé常ãMarshalByRefObjectããç¶æ¿ãããã¨ã¯ãã¾ãç¡ãã¨ã¯æãã¾ãããRealProxyã使ã£ãAOPã¢ãããªããã§ãã²ãã£ã¨ããã使ããã¨ãããããç¥ãã¾ããããã®å ´åã®ãã¡ãªãããè¦ã¦ã¿ã¾ãããã using System; using System.Diagnostics; nameâ¦
æè¿ç¥ã£ãã·ã§ãã¯ãªãã¨ã using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Sample { [AttributeUsage(AttributeTargets.Class)] class MyAttribute : Attribute { public string Name { private set; â¦
ããããè¦ã¦ãã¦ãtrue, false, true...ã¨ç¹°ãè¿ãã³ã¼ãã«ã¤ãã¦ã®è©±é¡ããããããã§Rubyã«cycleãªããã®ããããã¨ãç¥ãã¾ãããRubyã«å¯¾ããã¢ã³ãããä½ãã¦ã»ã»ã»(^^;C#ã®Enumerableã¯ã©ã¹ã«ã¯åæ§ã®ãã®ã¯ããã¾ããããèªåã§æ¸ãã¨ãããªæãã§ãâ¦
MEFè¨äºã®é£ç¶æä¸ç¬¬ä¸å¼¾ããã¾ãä¸è¬åãããªããã¿ãé£æã§ãã(^^;IronRubyãã¢ããªã±ã¼ã·ã§ã³ã«ãã¹ãã£ã³ã°ã¯é£ããããã¾ããããdynamicã使ããªã©ç¹å¥æ±ããå¿ è¦ã ã£ããããããä½ãããVSä¸ã§ã³ã¼ããæ¸ãã¦ãã«ãã¨ããæµãã®ä¸ã«ãrubyã§ã³ã¼ãâ¦
MEFã人ã«èª¬æããã¨ããã©ãè¨ãã°ããã®ã§ããããï¼ ç§ã®å ´åãDIã³ã³ãããç¥ã£ã¦ãã人ã«ã¯ãDIã³ã³ããã£ã½ãä½ããã¨è¶ãæ¿ãã¦ãã¾ãããã¦ãDIã³ã³ããã¯xmlã§è¨å®ãã¡ã¤ã«ãæ¸ããã®ãå¤ãã£ãå°è±¡ãããã¾ãããMEFã¯ã«ã¹ã¿ã å±æ§ãã¼ã¹ã«ãªã£ã¦â¦
å人çã«.NET4ã§ä¸çªæå¾ ãã¦ããMEFã§ãããä½ã足ããªããªãã£ã¨æã£ã¦ãããAOPããµãã¼ãããã¦ããªãã£ããã§ãããtwitterã§ã¤ã¶ããã¦ããæ¡ã§ã¡ãã£ã¨çµãã§ã¿ã¾ãããExportProviderã§ãã«ããã«ãããã ãã¾ã åå¼·ã®ããã®ã³ã¼ããªã®ã§ãã®ã¾ã¾ä»â¦
C#ã®å ´åãå¤éç¶æ¿ã¯ã¤ã³ã¿ãã§ã¼ã¹ã使ããã¨ã«ãªãã¾ãããå®è£ ã¯ã©ã¹ã¸ã®å§è²ãæ¸ãã®ãã¡ãã£ã¨é¢åã§ããä¸æ¹ãPythonã¯å®è£ ã®å¤éç¶æ¿ãã§ããã®ã§ãããå©ç¨ãã¦å§è²ã®ææ¸ããææãã§ããªãã試ãã¦ã¿ã¾ãããã¾ãã¯ãå¤éç¶æ¿ãããã¤ã³ã¿ãã§ã¼â¦
IronRubyã¯Î±æ代ããå¼ã£ã¦ãã¾ãããããã¼ã¸ã§ã³ãä¸ãããã³ã«ãã¹ãã£ã³ã°æ¹æ³ãå¤æ´ããã¦ãã¾ãããRCã«ãªã£ãã®ã§ããããæçµçã ã¨æãããã®ã§ãããã©ã¼ãªãã§ããã(^^;ã¦ãã¨ã¼ãªrubyã®ã¯ã©ã¹ã class Foo def bar puts 'baz' end def add(x, yâ¦
Windows Azureãå¼ã£ããã¨ããªãã£ãã®ã§ãã¡ãã£ã¨è©¦ãã¦ã¿ã¾ãããSilverlightã§ä½ã£ããµã³ãã«ãã©ã£ãã¦ã¿ããããªï¼ã»ã»ã»ã¡ãã£ã¨ãã¯ãªã¾ããã(^^; Google Gadgetsã¨ãã¦è²¼ãä»ãã¦ãã¾ããã³ã¼ãã¯XAMLã®ã¿ããã¡ããã¹ã¼ãã¼preè¨æ³ãåãã¦ä½¿ã£â¦
ç§ã®èª¿ã¹ãã®(MSç³»æè¡æ å ±)ã®å ´åãgoogleãããbingã®æ¹ãè¯ãçµæãè¿ããã¨ãå¤ããæè¿ã¯ãã£ã±ããbingã使ã£ã¦ããããã¾ããBing API 2.0ã®ãªãã¡ã¬ã³ã¹ãè¦ããä½ããé¢ç½ããã¨ãã§ããããªã®ã§ãã¡ãã£ã¨å¼ã£ã¦ã¿ã¾ãããã¨ã¯è¨ã£ã¦ãè±èª->æ¥æ¬â¦
ã¤ã³ã¯ãªã¡ã³ãããã¯ãªã¡ã³ãæ¼ç®åã§ãå¼ã³åºããã¦ç´ æµãªã®ã§ããã using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.Dynamic; namespace DynamicSample { class MyDynaâ¦
ãã¾ã¾ã§ä½æ ãç¨æããã¦ããªãã£ãã¿ãã«ããé°ã§ç¬èªã®PairãããTupleã沢山ä½ãããã¨æãã¾ãã using System; namespace TupleSample { class Program { static void Main(string[] args) { // ã¿ãã«ã®è¦ç´ ã¯7㤠var t1 = Tuple.Create(1, 2, 3, 4, â¦
ADO.NETã使ã£ã¦ãã¦DataTableããæ軽ãªã¡ã¢ãªãã¼ã¿ãã¼ã¹ã¨ãã¦ä½¿ãããã¨ã«æ°ã¥ãã¦å¥½ãã§ä½¿ã£ã¦ããã®ã§ãããDBç¨é以å¤ã«ä½¿ã£ã¦ããã¨ãæã ãå«ãããªåé¡ã«ã¶ã¤ããäºãããã¾ããä¸ä¾ã¨ãã¦ãã½ã¼ãã®åé¡ãããã¾ãã
Windows7ç°å¢ãæ§ç¯ããã®ã§ãããã«Visual Studio2010Beta2ãå ¥ãã¦ã¿ã¾ãããæéçã«ã¯å ¨ç¶ä½è£ããªãã®ã§ãããç²¾ç¥çã«ã¯ã¡ãã£ã¨ãã¨ããåºã¦ããã®ã§ã.NET4.0ã«ã¤ãã¦ã¡ã¾ã¡ã¾å¼ã£ã¦ããããã¨æã£ã¦ãã¾ããä»æ¥ã¯ãLazyã¯ã©ã¹ãè¦ã¦ã¿ããã¨ã«ã uâ¦
éçºç°å¢ã§åãã¦ããVSTOã使ã£ãã¢ããªããã¹ãç°å¢ã§åããªããã¨ããç¸è«ãåã調ã¹ã¦ã¿ãã¨ããã Download Microsoft Visual Studio Tools for the Microsoft Office system (Version 3.0 Runtime) (x86) from Official Microsoft Download Center âãâ¦
Javaå´ãã.NETã©ã¤ãã©ãªã使ãã¾ãããè²ã é¢åãªãã¨ãçºçãã¾ãã試ãã«System.Generic.Listã使ã£ã¦ã¿ãã¨ã // import System.*ã¨ãããããã¨ãJavaã®Stringã¨.NETã®Stringãè¡çªãã¦ãã¾ãã®ã§æ³¨æ import System.Console; import System.Int32; imâ¦
ã»http://www.janetdev.org/ .NETåãã®(ã¾ã¨ããª?)Javaã§ãããJa.NETãå¼ã£ã¦ã¿ããã¨ã«ã class Hello { public static void main(String[] args) { System.out.println("Hello, World!"); System.Console.WriteLine("Hello, Ja.NET"); } } ä¸è¨ã®ããã«.â¦
10/27-30ã«éå¬ãããPDC2008ã§ãããéå¬ä¸ã«ãé¢ãããã»ãã·ã§ã³åç»ãéæå ¬éããã¦ãã¦åå åºæ¥ãªã人ã¨ãã¦ã¯å¬ããéãã§ããé£ä¼ä¸ã¯ã²ãããã»ãã·ã§ã³ãè¦ã¦ããã®ã§ãå人çã«èå³ããã£ãã»ãã·ã§ã³ãç°¡åã«ã¾ã¨ãã¦ã¿ã¾ããâ The Future of C# â¦
Visual Studio 2010CTPãè½ã¨ããã®ã§æ©éVirtual PCã§åããã¦ã¿ãã¨ããã使ãç©ã«ãªããªããããé ãã§ãããã·ã³ã¹ããã¯çã«ã¯è¯ãé¨é¡ãªãã§ããã©ããä»æ¹ããªãã®ã§VMWare Playerã§åããã¦ã¿ãã¨ããããã£ã¡ã®æ¹ã軽快ã§ããã(^^; ãã¨ãæ¥æ¬èªãâ¦
DataTableã«ã¦ãã¼ã¯ãã¼ãè¨å®ãã - å£ã®åããå´ - ãã¾ãã«.NET㪠ã¦ãã¼ã¯ãã¼åé¡ã¯è§£æ±ºããã¨æã£ã¦ããã®ã§ãããæãã¬è½ã¨ãç©´ãã using System; using System.Data; class Program { static void Main (string args) { DataTable t = new DataTaâ¦
ä»äºã§åµã£ãã®ã§ã¡ã¢ã Excel -> CCW -> WCF -> ASP.NET Service ãããªå¼ã³åºãæ¹ãããå¿ è¦ããã£ãã®ã§ãããWCFã®åæåãapp.configã«ãããã¦ãã¾ãããExcelã«ã¯å½ç¶ãapp.configããªãã®ã§WCFã®å¼ã³åºãã§å¤±æãã¦ãã¾ãã¾ããExcel.exe.configãç¨â¦
WinFormã§ã¯ç°¡åã«å¯¾å¿ã§ããã®ã§WPFã楽åã ã¨æã£ã¦ããã®ã§ãããVisual Studioã¯ããã¾é¢åãè¦ã¦ãããªãã§ããããæ¹ã¯è²ã ããã¾ãããå人çã«ã¯ã http://www.codeproject.com/KB/WPF/WPFLocalize.aspx ãã®æ¹æ³ãè¯ãããã«æãã¾ãããä¸è¨ã®è¨äºâ¦
// ãªãããã®ãã¼ã¿æ¤ç´¢ // 対象ãã¼ãã«ã®ãã¼ã¯ã¦ãã¼ã¯ãã¼(ã¤ã¾ããã¼ã«Nullå¤ãå«ã)ã ã£ãã¨ãã DataTable t = Find (10); // DataTable.Mergeã使ãããã®ã§PrimaryKeyãè¨å®ãããã»ã»ã» // ãã®ã¿ã¤ãã³ã°ã§ãã©ã¤ããªãã¼ã«æå®ããã«ã©ã ã®Alloâ¦