Quantcast
Channel: Think Originally » .NET
Browsing all 10 articles
Browse latest View live

ASP.Net defaultfocus and defaultbutton in Master Pages

One of the big problems I faced in .Net 1.1 web applications was capturing the enter key so that the correct asp:button would be “clicked.” To solve this problem, ASP.Net 2.0 lets you specify this on...

View Article



Get Command Line Parameters in Windows Forms App (C#)

To get command line parameters in a standard console app (C#): static void Main(string[] args){ foreach (string arg in args) { ... }} To get command line parameters in a windows forms app (C#):...

View Article

SubVersion (SVN) and Visual Studio 2008

I haven’t used the Team Suite of the Visual Studio projects, so I can’t speak to their effectiveness, but it seems that Microsoft has obviously shifted their focus there instead of trying to further...

View Article

Linq: Dynamically Combining Where Clauses with an "OR"

Using LINQ in C# .Net 3.5, I have often had cases where I wanted to build my predicates dynamically based on the value of different runtime conditions or by iterating through a list, etc. You can...

View Article

Word cannot start the convertor mswrd632

I have written a command line application that, among other things, converts Word Documents to HTML using the Microsoft.Office.Interop.Word library. I haven’t used it for a while, and recently had to...

View Article


Microsoft C# Design Guidelines and Naming Conventions

Each time a new project is started, there is always a discussion (or there should be!) of what guidelines should be used in design, naming conventions, etc. I typically like to defer to the standards...

View Article

Visual Studio 2008 Web Setup Project, Web Deployment Project, and MSDeploy

I have been developing a strategy for deploying an ASP.Net Web Application (Visual Studio 2008, .NET 3.5) to staging servers, and to production.  In the process, I have encountered 3 products from...

View Article

ASP.Net Config Error: "This configuration section cannot be used at this path."

I recently setup an ASP.Net 3.5 web application on a new Windows 2008 R2 server with IIS 7 and ran into a few issues.  I will post about them all under the tag: “asp.net 3.5 with iis 7“. After setting...

View Article


Microsoft JScript runtime error: AjaxControlToolkit requires ASP.NET Ajax 4.0...

After including a control from the ASP.Net AjaxControlToolkit I got this error: Microsoft JScript runtime error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the...

View Article


Web Deployment Configurations in Visual Studio 2010

Some quick notes on the basics. I’ll try to follow this up with another post soon on some of the particulars. Creating a new configuration: Build -> Configuration Manager In the drop down of current...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images