rplant

Stories submitted by friends of rplant

Using T4 to generate a class wrapper for <appSettings />(tyronedavisjr.com)

submitted by tdavisjrtdavisjr(335) 2 years, 5 months ago

Last week I wanted to generate a object wrapper around the <appSettings> section in my web.config/app.config file and after doing the same thing over and over again by generating a public read-only property for each setting, I decided to use T4 to read the <appSettings> section and generate a class all the properties that would become the wrapper around the ConfigurationManager.AppSettings[“…”] calls to retrieve the settings. To my surprise, this was pretty easy to do. read more...

1 comment |category: |Views: 151

tags: another

VS2010 Beta 1 now on MSDN for Subscribers(redmondpie.com)

submitted by tdavisjrtdavisjr(335) 3 years ago

Microsoft today has released Visual Studio 2010 Beta 1 and .NET Framework 4.0 to its MSDN subscribers. Visual Studio 2010 is a monstrous and the most awaited release which is surely set to have a big impact on Microsoft platform developers in a positive way! read more...

add a comment |category: |Views: 21

tags: another

Free ASP.NET Security Screencast Series(tyronedavisjr.com)

submitted by tdavisjrtdavisjr(335) 3 years, 3 months ago

Pluralsight is a .NET training company that use to only offer on-site instructor lead courses. However, beginning late last year they launch a new version of their website with the main feature being On-Demand video training. Even though this on-demand training feature isn’t free, they have provided some free training for you to sample. Last week I sat and watch their entire ASP.NET Security training series and I really learned a lot. read more...

add a comment |category: |Views: 11

tags: another

Detecting Session Timeouts using a ASP.Net MVC Action Filter(tyronedavisjr.com)

submitted by tdavisjrtdavisjr(335) 3 years, 6 months ago

This article shows one way on how to detect a session timeout in an ASP.Net MVC application. The implementation uses a MVC action filter to detect when a session has timed out redirects the user to a Login page. read more...

add a comment |category: |Views: 2443

tags: another

SQL Server 2008 Express with Management Tools(microsoft.com)

submitted by tdavisjrtdavisjr(335) 3 years, 9 months ago

SQL Server 2008 Express database was released last week; but now Microsoft just released the Management tools and the Advanced Services additions that give you SQL Server 2008 Express Reporting Services read more...

3 comments |category: |Views: 798

tags: another

Getting started with Visual Studio 2008 Remote Debugging(tyronedavisjr.com)

submitted by tdavisjrtdavisjr(335) 4 years, 1 month ago

In the past, Visual Studio Remote Debugging was not the easiest thing to set up. Using VS 2008 this process is much simpler. read more...

add a comment |category: |Views: 398

tags: another

Internet Explorer 8 Beta 1: First Impressions(colincochrane.com)

submitted by ColinCochraneColinCochrane(235) 4 years, 2 months ago

Since the IE development team releasing the first beta version of Internet Explorer 8 for developers last week, I've had the chance to play around with this latest incarnation of the Internet Explorer family. While most of the focus has been on the improved support for web standards, which is immediately evident even in this early beta, there are many more new features and enhancements that are making IE8 look like its shaping up into a solid browser. read more...

add a comment |category: |Views: 3

tags: another

ASP.NET Custom Errors: Preventing 302 Redirects To Custom Error Pages(colincochrane.com)

submitted by ColinCochraneColinCochrane(235) 4 years, 4 months ago

Defining custom error pages is a convenient way to show users a friendly page when they encounter an HTTP error such as a 404 Not Found, or a 500 Server Error. Unfortunately ASP.NET handles custom error pages by responding with a 302 Temporary redirect to the error page that was defined. In this post I explain how to create a custom HttpModule that allows you to use custom error pages while preserving the original HTTP status code and avoiding the 302 redirect to the error page. read more...

add a comment |category: |Views: 204

tags: another

SQL Trusted Connections with ASP.NET(developerfusion.co.uk)

submitted by deezindeezin(25) 4 years, 4 months ago

The problem arises when your SQL server and your IIS/asp.net server are on separate machines, which is a typical setup. As the ASPNET user does not exist on the SQL server you can't grant access to it. There are 4 main ways to overcome this problem read more...

add a comment |category: |Views: 5

tags: another

New Feature: Organize using statements with VS 2008(tyronedavisjr.com)

submitted by tdavisjrtdavisjr(335) 4 years, 4 months ago

I pretty cool C# IDE enhancement that will become very useful. read more...

add a comment |category: |Views: 1

tags: another

Strongly-Typed Session Properties in ASP.NET(tyronedavisjr.com)

submitted by tdavisjrtdavisjr(335) 4 years, 4 months ago

One way to implement Strongly-Typed Session Properties in ASP.NET. read more...

4 comments |category: |Views: 107

tags: another

Catching Unwanted Spiders And Content Scraping Bots In ASP.NET(colincochrane.com)

submitted by ColinCochraneColinCochrane(235) 4 years, 4 months ago

If you have a blog that is even moderately popular then you have likely fallen victim to some form of content scraping. Ever since it became possible to earn money through ads on a website there have been people trying to find ways to cheat the system. The most widespread example of this comes in the form of splogs and similar spam-based websites, which consist only of ads from Google AdSense and duplicated content that is scraped from other sites. In this post I share a method you can use to identify "evil" spiders and content scraping bots that are wasting your website's resources. read more...

add a comment |category: |Views: 14

tags: another

TSQL, Looping through a result set without using database cursor(tyronedavisjr.com)

submitted by tdavisjrtdavisjr(335) 4 years, 5 months ago

An alternative approach to looping through a result set without using a database cursor. read more...

add a comment |category: |Views: 637

tags: another

Appreciating a good, well-designed API(tyronedavisjr.com)

submitted by tdavisjrtdavisjr(335) 4 years, 5 months ago

It's the little things in the .NET Framework that matter. read more...

add a comment |category: |Views: 5

tags: another

Is There Added Value In XHTML To Search Engine Spiders?(colincochrane.com)

submitted by ColinCochraneColinCochrane(235) 4 years, 5 months ago

The use of XHTML in the context of SEO is a matter of debate. The consensus tends to be that using XHTML falls into the category of optimization efforts that provide certain benefits for the site as a whole (extensibility, ability to use XSL transforms) but offers little or no added value in the eyes of the search engines. That being said, as the number of pages that search engine spiders have to crawl continues to increase every day, the limits to how much the spiders can crawl are being tested. This has been recognized by SEOs and is reflected in efforts to trim page sizes down to make a site more appealing to the spiders. Now it is time to start considering the significant benefits that a well-formed XHTML document can potentially offer to search engine spiders. read more...

add a comment |category: |Views: 0

tags: another

Using CSS To Create Two Common HTML Border Effects(colincochrane.com)

submitted by ColinCochraneColinCochrane(235) 4 years, 5 months ago

Seperating the style from the markup of a web document is generally a painless, if sometimes time-consuming, task. In many cases however, the process can have some added speed-bumps; most notably when the original HTML is using an infamous table-based layout. The two most common speedbumps when dealing with table-based layouts and styling are recreating the classic borderless table and keeping the default table border appearance read more...

add a comment |category: |Views: 7

tags: another