- Follow MSDev.pro blog on WordPress.com
Follow us
-
Recent Posts
Categories
Recent Comments
Archives
Category Archives: Geen categorie
Managing IIS Express settings
Problem statement For ease of use I had put a web application using IIS Express at port 80. This implies that later on using IIS (the real one) didn’t work anymore because it uses port 80 by default too. So … Continue reading
LINQPad tool
Perfect tool to try out all your LINQ queries! Needn’t say more! http://www.linqpad.net/ Technorati Tags: LINQ,LINQPAD,SQL
Posted in Geen categorie
Leave a comment
CalendarExtender and Globalisation
By default the CalendarExtender isn’t aware of the Globalisation settings. Example: <asp:TextBox ID="txtFrom" runat="server" Width="80px"></asp:TextBox><cc1:CalendarExtender ID="txtFrom_CalendarExtender" runat="server" TargetControlID="txtFrom" ClearTime="True"></cc1:CalendarExtender> Web.config: <system.web> [ … ] <globalization uiCulture="nl-BE" culture="nl-BE" /> </system.web> This will still not use the nl-BE culture. To get it … Continue reading
Posted in Geen categorie
Leave a comment
CLR Trigger
Creating a CLR trigger couldn’t be easier: In VS 2008 Create a new SQL Server Project, then create a new trigger (right click project name, add, trigger. Fill in the attribute’s properties: [Microsoft.SqlServer.Server.SqlTrigger(Name = "PackageDeleteTrigger", Target = "Packages", Event = … Continue reading
Posted in Geen categorie
Leave a comment
Windows 7 SendTo
When you rightclick on the start button and then choose “Explorer”, in previous versions of Windows this would take you to your own user profile folder. This contains a folder called “SendTo”, where you can (for example) add a shortcut … Continue reading
Posted in Geen categorie
1 Comment
Create a new WCF log file after a certain size is reached
By default when you create a log file for your WCF service, this will be one file that will always grow. This makes it hard in the end to load the file in memory to check it out. I found … Continue reading
Posted in Geen categorie
Leave a comment
Fresh installation of IIS doesn’t recognize .svc requests
This problem can be solved easily by running the ServiceModelReg tool. This can be found in %SystemRoot%\Microsoft.Net\Framework\v3.0\Windows Communication Foundation. ServiceModelReg –i will do the trick. More information at http://msdn.microsoft.com/en-us/library/ms732012.aspx Technorati Tags: IIS,WCF,SVC,ServiceModelReg
Posted in Geen categorie
Leave a comment
Securing a WCF service with a username / password
When you read the MS documentation, this looks like a trivial thing to do, but of course there are always some things that just don’t work as you’d like them to work. I got it working thanks to some excellent … Continue reading
Posted in Geen categorie
Leave a comment
VS 2008 – View white space
I gladly use a lot of VS’s shortcuts, and one of my favorites is Ctrl+E, Ctrl+D which will format your document. Today I missed and typed something else than Ctrl+E, Ctrl+D, causing my editor to show all the tabs as … Continue reading
Posted in Geen categorie
Leave a comment
Receiving a long response (> 64kb) from a web service (WCF client)
Tags van Technorati: WCF I’m calling a web service which returns (after a long while) a large string. This string is more than 64 KB in size, so I had to tweak the config file on the client. Here … Continue reading
Posted in Geen categorie
Leave a comment