-
This is a trick i learned today, if you have your web service returning JSON string to utilize on your ajax calls if you planned to connect to this service using server code (Web Reference) for internal facing app for example you have a problem. If you are using HttpModule to alter the content-type to...
-
I’ve been banging my head all day to accomplish this, it’s like a puzzle.. but since i get it to work i thought i could write this post for you and myself. What we want to accomplish? Simple way to communicate cross-domain with ASMX .NET 3.5 Web Service How can we do it? 1. Implement a web service method...
-
Introduction A while ago there was quite the discussion about what the differences where between VB.NET and C# and what people should use. After a while it seems that most things where said and it became clear that the C# camp had the most zealous advocates. Now things have quieted down a lot and it...
-
Recently I deployed a WCF service using NTLM transport authentication. An issue arose when calling the service from a remote server where Kerberos authentication was not working correctly. After contacting the infrastructure team, I was informed to use NTLM and not Kerberos as the authentication provider...
-
I had a problem today. My ASP.NET Development server wouldn’t start because the specified port was already in use. The port number was 50678, so it wasn’t very likely that it actually was in use. But I decided to check anyway. But as expected ‘netstat –a’ gave me no results for port 50678. Restarting...
-
The ASP.NET Charting Controls have been announced last month. The charting controls are a nice addition to ASP.NET, which has already been discussed by Rick van den Bosch and Scott Guthrie . When you would like to use the charting controls in SharePoint, consider using the ChartPart for SharePoint ....
-
For a SharePoint website I was developing user controls that inherit from the ASP.NET 2.0 Membership controls. Submitting the custom login and password recovery controls by clicking the submit button worked as expected. However, submitting the controls by pressing the Enter key on my keyboard resulted...
-
Just fixed a very nasty bug in one of the applications I'm developing. In the database world there is a name for this bug which at the moment does not come up in my mind, I think it is called a 'lost write' but I'm not sure. Somewhere in a class I did the following based on a passed username...
-
This is awesome, Microsoft finally decided to ship open source software, jQuery will be shipped with ASP.NET MVC and will be supported as any Microsoft product, also will be shipped with Visual Studio on the long run, this is a bold move http://www.hanselman.com/blog/jQueryToShipWithASPNETMVCAndVisualStudio...
-
Word to the wise, unless you want to spend hours tracking down idiotic Stack Overflows, check your Sitemap files in ASP.NET. Each sitemap node can contain a 'Provider' attribute. This is designed so that you can set up several sitemaps, and have a master sitemap file pull submenuitems from seperate...
-
So I am back into making .NET websites... and I love the web.sitemap feature of .NET 2.0+ However, I like my web folder structure to be semantic. This means that instead of clunky files with extensions, I like to have a directory for every portion of the site. Example: http://www.website.com/products...
-
ASP.NET provide a very conveniant way for health monitoring notifications, that will allow you to setup an email prvider to catch web events and send email messages when any arise. all you need is to configure your web application to send emails, also have a configured SMTP Virtual Server on your running...
-
With integrating new technologies with .NET Framework 3.5 like Ajax Extension for instance the default web.config become very fat. why not having a designer generated code for the web.config in seprate file like it did with ASPX pages.
-
When people want start learning about .NET in general or a specific subject like Silverlight or security, can be send to the "How Do I?" videos. I do this myself a lot of times, because a lot of videos aren't 60+ minutes. Just as a reminder to myself, the root url is this one .
-
This is a basic feature that most of todays application provide the most widly used implementation make use of the Response object to write to all the page which dosn't go well with ajax calls that concerns with only a portion of the page. you can place the export button outside the girdview ofcourse...