Geeks With Blogs
Ben Bastiaensen Living the .NET live
My visit to TechDays paid off really will since i got a free copy of Telerik "Just Code". And this is a really nice tool to add to Visual Studio. JustCode assists in code analysis, refactoring, code formatting, etc. And it does this in a really good way. It allows me to easily find and fix code problems is an elegant and fast way. If you want to try ......

Web developers who would like to use CSS3 intellisense in Visual Studio 2010 can download this for free as an add-on form this website. Make sure you close VS before running the installer. The file should be automatically installed to C:\Program Files\Microsoft Visual Studio 10.0\Common7\Packages\1033\... . Open up VS again and open a CSS file. ......

URL Routing is a very nice new feature in ASP.NET 4.0. And in Visual Studio everything works just great. But as soon as you start testing on IIS you get a "Error 404.0 - Not Found". To solve this you need to make sure that: you have set the Application Pool to "asp.net 4.0 application pool". Routing will not work with "asp.net 4.0 classic application ......

Up to ASP.NET 3.5 Request Validation is enabled by default. In order to to disable this for a page you needed to set the ValidationRequest property in the page directive to false. This is no longer the default case in ASP.NET 4.0. If you want to use this behaviour you need to add the follwing setting in web.config <httpRuntime requestValidationMode="2.0" ......

Microsoft has made a target Schema for HTML 5 development. This schema can be installed on VS 2008 en VS 2010. You can download it form this website. Then run the installer. If VS 2010 is not installed in it’s default location (C:\Program Files\Microsoft Visual Studio 10.00), then after running the .msi, you will have to manually move the ‘html_5.xsd’ ......

Ever got bored of typing the same code over and over again? For example, if you want to use the IDataRecord to process a DataReader you will run into this code a lot: s.Id = objIDR.GetInt32(objIDR.GetO... s.Name = objIDR.GetString(objIDR.Get... Over and over again you need to call the GetOrdinal function to get the index of ......

While testing an AJAX enabled web app I sometimes stumbled upon this script error: 'this.get_element().style' is null or not an object. It was a hard nut to crack this one. This was the actual message (in dutch, sorry ): 12.00 Normal 0 21 false false false NL-BE X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:Standaardta... ......

While building a new website I stumbled upon a problem with the ASP.NET Menu Control. In all browsers, except IE8 the control works just fine. But in IE8 the dynamic parts of the menu are generated as blanks. Some investigation on the net learned me that this in normal behaviour build into IE8 by Microsoft. (????) There seems to be a problem with compatibility. ......

By default IE7 does not allow the prompt() method to be executed. But you can enable this again. In IE go to the menubar, select "Extra", "Options". Take the tab page "Security". Click the customize button at the security zone part. Look for "Websites are allowed to use scripts to prompt for information" and enable it. (screenshot on Dutch Vista) Clikc ......

Copyright © Ben Bastiaensen | Powered by: GeeksWithBlogs.net