Ahmad

Stories kicked by Ahmad

301 Moved Permanently Redirect in ASP.NET(mycsharpcorner.com)

submitted by youseflayousefla(675) 5 years, 1 month ago

If you have done SEO work, you know that Search Engines would penalize my site if both http://www.mycsharpcorner.com and http://mycsharpcorner.com/ requests returned a 200 OK code in the HTTP header. Why? Because from a Search Engine's spider point of view... read more...

1 comment |category: |Views: 78

tags: another

Socialize your ASP.NET Pages - A Free Social Links User Control(mycsharpcorner.com)

submitted by youseflayousefla(675) 5 years, 1 month ago

In today's Internet blog, you almost never miss seeing a "Digg It", a "Kick it", a "Ridd It" a Furl it, burl it...or squirrel it... link or icon at the end of each article you read in someones blog. Well, regardless of the opinions people might have about this phenomenon, if you are an ASP.NET ... read more...

add a comment |category: |Views: 27

tags: another

Fun with C# Timers.. Flash a Windows Control to draw attention to it(mycsharpcorner.com)

submitted by youseflayousefla(675) 5 years, 1 month ago

The most common GUI technique is to display the error using a MessageBox.Show popup after validating the control, with something like "First Name field is empty! Please enter your First Name". I find these popup boxes in a Windows Application to be annoying... especially when combined with the "bump" wav sound associated with them! So to give my users a friendly app read more...

1 comment |category: |Views: 110

tags: another

Design Patterns for ASP.NET Developers(devx.com)

submitted by DotNetKicksDotNetKicks(100) 5 years, 1 month ago

You've heard about MVC, MVP or other sexy patterns, but you haven't the foggiest of how to apply them to your web application. Most Design Pattern documentation targets desktop applications or discusses pattern theory. In this three part series Alex Homer presents examples of patterns specifically targeted at ASP.NET. read more...

add a comment |category: |Views: 11

tags: another

Daily WTF - Deleting SQL Data (or Properly Formatting SQL)(weblogs.asp.net)

submitted by jgaylordjgaylord(475) 5 years, 1 month ago

Have you ever had a really bad day (or week) where you miss the most obvious mistakes? Well, this is one of the worst -- improper SQL statements deleting all of the data from a table. read more...

2 comments |category: |Views: 6

tags: another

New sitemap features in robots.txt(blog.madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 5 years, 1 month ago

Describes how to enable your sitemap for autodiscovery by all search engines by editing robots.txt. read more...

add a comment |category: |Views: 12

tags: another

Have .NET developers finally grown up?(blog.madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 5 years, 1 month ago

The author discusses whether or not the .NET developers have rissen beyond endless and stupid debates of the past and if the history is repeating itself elsewhere in the general development community. read more...

add a comment |category: |Views: 2

tags: another

CSS Friendly Control Adapters, CreateUserWizard, and ViewState - Oh My(stevenharman.net)

submitted by usshermussherm(5285) 5 years, 1 month ago

Using CSS Friendly Control Adapters, CreateUserWizard, and ViewState can cause some funky behavior - like not being able to get values off the wizard control in your event handlers. Read more for a work around! read more...

add a comment |category: |Views: 45

tags: another

Driving Powershell adoption at the workplace(weblogs.asp.net)

submitted by ScottWScottW(320) 5 years, 1 month ago

How to encourage a development team to adopt powershell read more...

add a comment |category: |Views: 5

tags: another

Will Pair Programming Really Improve Your Project?(methodsandtools.com)

submitted by martinigmartinig(568) 5 years, 1 month ago

This article takes a critical look at the pair programming practice of the agile extreme programming approach. read more...

add a comment |category: |Views: 7

tags: another

ASP.NET 2.0 Provider model - the guts, the glory, the goodness(blogs.msdn.com)

submitted by crpietschmanncrpietschmann(11.3k) 5 years, 1 month ago

I still think the Provider model -- which handles high-level concepts like site membership, roles, and personalization, but allows you to modify the way they work at a low level by swapping in and out new providers -- is one of the coolest [...] things. read more...

4 comments |category: |Views: 30

tags: another

Provider Model Misconceptions(weblogs.asp.net)

submitted by crpietschmanncrpietschmann(11.3k) 5 years, 1 month ago

For the past 15 or so years, if you wanted to create a pluggable architecture, you used Interfaces. They define a signature that classes must implement in order to conform to that Interface. He says that this is the best way to go, and he is incorrect. I can see where he is coming from though, so let me clear the air a bit. read more...

1 comment |category: |Views: 11

tags: another

Self-Documenting Unit Tests(lostechies.com)

submitted by jssinghjssingh(75) 5 years, 1 month ago

Integrating BDD with TDD to produce self documenting design artifacts read more...

add a comment |category: |Views: 22

tags: another

Creating a Rules Processing Framework - Part 1 - The Rules Provider(wijix.com)

submitted by pjacobspjacobs(375) 5 years, 1 month ago

I will describe how to create a Rules Engine Framework using C#. It will take a few posts to describe the entire process but it's very cool and your going to want to read them all. In Part 1, I am going to describe the Rules Provider. read more...

add a comment |category: |Views: 82

tags: another

Script Multiple Procs With Create And Drop Statements In SQL 2005(sqlservercode.blogspot.com)

submitted by SQL_MenaceSQL_Menace(4890) 5 years, 1 month ago

In SQL Server 2005 Management studio you can not script out multiple procedures with a create and drop statement This article shows how to do it by using T-SQL read more...

add a comment |category: |Views: 6

tags: another

Persistent Object Management in less than 300 Lines of Code(codeproject.com)

submitted by rcerffrcerff(160) 5 years, 1 month ago

There's a lot of repetitive work associated with the writing of data classes within the data access layer of an N-tiered architecture. Apart from adding a column to the relevant database table, adding a field to the class involves adding a private variable to hold the field value, a property to expose it to other classes, and several lines to make sure the field is included in insert, fetch, and update operations. If you're using stored procedures (very silly for CRUD queries) that several more modifications to make. This is dull work I'm sure you'll agree. Presented here is a lightweight method for taking away all this tedium, such that you only have to add a getter/setter property in order to add a field to a data class. The technique involves abstracting SQL query writing and execution, and variable storage in data access classes to a base class. In the implementation presented here I've named this base class "PersistentDataObject". The "less then 300 lines of code" referred to in the title of this post are the lines of code in this base class, the database access class it uses, and a couple of exception classes used as markers to add clarity to exception origins. The complete code is included at the end of the post. read more...

2 comments |category: |Views: 7

tags: another