djsolid

Stories kicked by djsolid

PetaPoco and Spatial Data Types(john.katsiotis.com)

submitted by djsoliddjsolid(429) 1 year ago

PetaPoco is a micro-ORM for .NET and Mono. If you haven’t see it yet I suggest you to check it out. Alternatives to PetaPoco are Massive and Dapper. (If you know more projects let me know). After this brief introduction let me begin by explaining the problem. I need it to build a simple web app with a fairly simple data model that was using Spatial Data. The app would use SQL Server 2008... read more...

add a comment |category: |Views: 20

tags: another

ASP.NET MVC - Passing a Flag Enum to an Action as Parameter(john.katsiotis.com)

submitted by djsoliddjsolid(429) 1 year, 2 months ago

A flag Enum is an Enumeration that can hold multiple values per instance An example of such Enum is ... read more...

add a comment |category: |Views: 15

tags: another

Visual Studio - A Common Replace Scenario(john.katsiotis.com)

submitted by djsoliddjsolid(429) 1 year, 2 months ago

Visual Studio has a build in Replace function that uses Regular Expressions. Let’s consider the following scenario: Although it’s not “good” code many times a developer has to write the following code... read more...

add a comment |category: |Views: 6

tags: another

ASP.NET MVC 3 - A RadioButtonList for Enum Properties(john.katsiotis.com)

submitted by djsoliddjsolid(429) 1 year, 2 months ago

ASP.NET MVC3 doesn’t have a built-in RadioButtonList helper and there are times that I want to display an Enum property. I can always do that using a dropdown list but if there are 2 or 3 values then it’s more user-friendly if the user sees all the options. So in a simple yes/no question ... read more...

add a comment |category: |Views: 129

tags: another

The Notebook Project - An open-source sample for WebMatrix(john.katsiotis.com)

submitted by djsoliddjsolid(429) 1 year, 4 months ago

An open source sample website with many features that was built with Microsoft WebMatrix! read more...

add a comment |category: |Views: 11

tags: another

Using Webpages helpers inside ASP.NET WebForms(john.katsiotis.com)

submitted by djsoliddjsolid(429) 1 year, 6 months ago

Now a few helpers are available for usage with Razor Syntax and ASP.NET WebPages or ASP.NET MVC. But those helpers can be used also inside a Webforms application. For example I find the Paypal helper extremely usefull. Let’s use it inside an ASP.NET Webforms App. read more...

add a comment |category: |Views: 6

tags: another

ASP.NET Membership - Change password without asking the old (WITH QA)(weblogs.asp.net)

submitted by djsoliddjsolid(429) 2 years, 1 month ago

Change a user password when the Password format is set to hashed and your site requires QA without needing the initial password. read more...

add a comment |category: |Views: 37

tags: another

Do you want to crash VS2010?(weblogs.asp.net)

submitted by djsoliddjsolid(429) 2 years, 2 months ago

You can try something if you want to crash VS 2010 RC. read more...

add a comment |category: |Views: 11

tags: another

Date Comparison – Entity Framework(weblogs.asp.net)

submitted by djsoliddjsolid(429) 2 years, 5 months ago

A quick tip about how to compare a datetime field in our database and to be extact only the Date part ignoring the time. read more...

add a comment |category: |Views: 44

tags: another

Make your site run only in ONE Browser window(single instance)!(weblogs.asp.net)

submitted by djsoliddjsolid(429) 2 years, 6 months ago

Silverlight 3 and Local Messaging! Can this be used in order to allow the user to open my website in only one browser window? read more...

add a comment |category: |Views: 17

tags: another

ASP.NET Membership - Change password without asking the old (weblogs.asp.net)

submitted by djsoliddjsolid(429) 2 years, 7 months ago

How to change a user password using MembershipUser.ChangePassword without using the old password of the user. read more...

add a comment |category: |Views: 70

tags: another

Anonymous user access in N2 CMS(weblogs.asp.net)

submitted by djsoliddjsolid(429) 3 years, 1 month ago

This is a way to allow items being displayed only to anonymous users in N2 CMS, read more...

add a comment |category: |Views: 24

tags: another

Back to Basics: Delegates, Anonymous Methods and Lambda Expressions(codebetter.com)

submitted by EtienneTremblayEtienneTremblay(5008) 3 years, 5 months ago

Great article on .NET basics read more...

add a comment |category: |Views: 783

tags: another

Update on Silverlight 2 - and a glimpse of Silverlight 3 (weblogs.asp.net)

submitted by simonechsimonech(10.1k) 3 years, 6 months ago

ScottGu unveils the plans for Silverlight 3, shipping next year read more...

1 comment |category: |Views: 350

tags: another

The Excitement that is C# 4.0(brian.genisio.org)

submitted by BrianGenisioBrianGenisio(1000) 3 years, 6 months ago

I just got back from the “Future of C#” talk at PDC by Anders Hejlsberg. This was a truly inspiring talk for a geek like me. C# is evolving into a much more dynamic language. I have always been a believer of strong typing… except when I’m not… and I have been wishing for something more dynamic (such as Duck Typing). In C# 4.0, we will be seeing some significant dynamic features. read more...

add a comment |category: |Views: 560

tags: another

Solving common problems with Compiled Queries in Linq to Sql for high (msmvps.com)

submitted by oazabiroazabir(1805) 3 years, 6 months ago

If you are using Linq to SQL, instead of writing regular Linq Queries, you should be using Compiled Queries. if you are building an ASP.NET web application that’s going to get thousands of hits per hour, the execution overhead of Linq queries is going to consume too much CPU and make your site slow. There’s a runtime cost associated with each and every Linq Query you write. read more...

add a comment |category: |Views: 292

tags: another