Community Blogs

Browse by Tags

Related Posts

  • Results of AJAX Statistic for .NET Development

    Simone has created another survey concerning AJAX usage with ASP.NET. The results are available, now, and it is really interesting to see that there are only small changes in the use of AJAX libraries for ASP.NET developers. The most used Ajax/JS library among .NET developers is jQuery , which is used by the 71,4% of the users. Second comes the Ajax Control Toolkit with 58,8% , followed by the core ASP.NET Ajax library , which is used by 44,8% . The 3 most used libraries are still the same of 2007, just with the opposite order (it was ASP.NET Ajax, the Control Toolkit and then jQuery). He writes more about the results concerning my library: And, despite becoming a dormant project , AJAX.NET Professional lost only 3% of the users. Here are the...


  • Ajax.NET Professional and ASP.NET MVC

    Sean Lin has written about how Ajax.NET Professional (AjaxPro) can be used with ASP.NET MVC and what you have to change to get it working. Anyway, I have been using Ajax.NET since .NET 2.0, as well as since .NET 3.5. I haven't found a good reason to switch and it even runs under ASP .NET MVC and I reckon it is still better than using Ajax.ActionLink(). Unless of course, there's some easier method that I do not know of then please feel free to enlighten me anytime. Most of my Ajax use centers around requesting data from the server asynchronously and then using javascript to update the DOM. As there are still a lot of developers starting with AjaxPro right now I will publish a new release during the next weeks that will change AjaxPro...


  • Ajax.NET M! (mobile edition) cancelled

    Some months ago I started to implement an Ajax.NET Professional version for .NET Compact and Micro Framework. Some weeks later I decided to build a library with several network related features and I’m now moving the Ajax.NET M! to this new project at CodePlex. Michael’s Networking Toolkit provides featrues like a DNS resolver, an HTTP server (AJAX support will be added right now) and XBee module support (from Digi International). Read More...


  • Encrypt your AJAX traffic using Microsoft Silverlight and Ajax.NET Professional

    Some of you maybe remember that I had added some security related features in Ajax.NET Professional . It is possible to put an AJAX token or to simple encrypt the data that gets over the lines. With Silverlight we get the System.Security.Cryptography namespace on the client – before it was not very easy to encrypt a string without any plug-in (well, there are some implementations of Blowfish available in JavaScript ). I have created a very simple demo that is showing how to implement cryptography in Ajax.NET Professional. First we have to create the encryption methods and implement an AjaxSecurityProvider : public override string Encrypt( string json) { return Security.Encrypt(Security.GetHashKey( "hans" ), json); } public override...


  • ASP.NET Memory Issues

    Tess Ferrandez who is an escalation engineer in product support services (PSS) at Microsoft was helping a colleague out with an OOM (OutOfMemory) situation he was dealing with. The problem was that their applications memory usage would grow over time until they finally ended up with an out of memory exception. They used an older version of my Ajax.NET Professional library . The bug has been noticed on April 14th in 2006 and fixed some days later. Tess is showing on his blog how he debugged the problem and found the correct solution as he didn’t find anything about a bug fix. It is very good to see how he was using windbg.exe . If you’re still using a version smaller than 6.4.27.1 you should replace your version with the latest one from codeplex...


  • Internet Explorer 8 and Maximum Concurrent Connections

    As defined in 1999 ( RFC 2616 ) “ clients that use persistent connections should limit the number of simultaneous connections that they maintain to a given server” . Since developers are using AJAX or AJAX-like requests to update a Web page the http limits are discussed more and more . Currently WinInet limits connections per server with a registry setting (for both, http 1.1 and 1.0). You can simply change the value and have the possibility to connect to more than one server at the time. Other Web browser have limited the concurrent connections to other values. Opera lets you change the value through the Preferences dialog box, look under Advanced –> Network . Firefox users just type about:config in the address bar and hit enter. Then type...


  • Un-sucking the Radio Button

    I swear radio buttons pucker up the closer my mouse gets to them. Aside from the lack of good CSS options for radio buttons, they demand a certain level of commitment from the user. Unlike our promiscuous friend the checkbox, once you manage to jab the tip of your mouse into the pinhole of a radio button that's it. There's no unpoking that hole. Sure, you might be able to move it around in a group of radio buttons but, you're pretty much committed to an option. So, to un-suck the radio button, we need: Free will. The users should be able to unselect their answer. Mutual exclusiveness. If we don't have this, we've got nothing but checkboxes. Only one answer can be selected. Potential beauty: Why be limited to puckered pinholes...


  • Ajax.NET and IIS 7 Integrated Mode

    As there are some questions on how to run Ajax.NET on IIS 7 (i.e. Windows Vista) in integrated mode instead of classic mode here are two things you have to check: First check that the IIS_ISSRS group has access to your Web site folder. If you are using the default folder for Web sites with Visual Studio .NET 2005 the simplest way is to add read access at C:\Users\Username\Documents\Visual Studio 2005\WebSites . Run following command to automatic migrate your web.config file: %windir%\system32\inetsrv\Appcmd migrate config "<ApplicationPath>" The breaking change for Ajax.NET Professional is that you have to move the httpHandler (and httpModule if used) to a new section system.webServer and rename httpHandler to handler ; next...


  • Wake-on-LAN from a .NET Micro Framework Device

    Well, I love the easy development of embedded devices with the .NET Micro Framework. As the device I'm currently using is really small I tried to build a small Web site on it to start my private servers at home using Wake-on-LAN . You'll find a lot of helper methods samples on the Internet but I couldn't find on source code that was working on the .NET Micro Framework. The problem is that there are too many missing methods or enum values. Here is the source code I'm using now which is working. public static void WakeUp( byte [] mac) { using (Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp)) { IPEndPoint endPoint = new IPEndPoint( new IPAddress( 4294967295 ), 40000 ); // IP 255.255.255...


  • My own small .NET Micro Framework Web Server

    While developing my small Ajax.NET M! library for creating Web applications that run on the .NET Micro Framework I have started to write my own Web server. Some years ago I wrote a simple SMTP/POP server and using some code from there was a great help. The first version will only return static HTML pages e.g. for documentation or help files. As there is no file system on those devices I use the embedded resource strings to return the content. MS.Micro.WebServer srv = new MS.Micro.WebServer(80); srv.Assembly = "MFConsoleApplication1" ; srv.StartPage = "default.aspx" ; // well, it is a fake, of course srv.Start() To find the correct embedded resource string the name of the resources have to follow a very simple syntax. If you...


Page 1 of 9 (82 items) 1 2 3 4 5 Next > ... Last »
Microsoft Communities