donderdag, februari 23, 2006

 

Datbase restore tool sqlserver2005 express

I use the (free) sqlserver2005 express database a lot. When you dont have the full version, you dont have a proper management tool either. The base management in VS2005 is very limited.

I could not even find a way to restore a databasebackup with it so I looked for an alternative and found some very usefull standard classes in the Microsoft.SqlServer.Management.Smo namespace.

Here you can download a small tool I created with these clases to restore a backupdatabasefile. Sourcecode also included.

http://www.overnight.nl/download/sql2005ExpressManagement.rar

screenshot:

dinsdag, februari 21, 2006

 

joe hummel, must c

http://www.microsoft.com/events/series/modernsoftdev.mspx

dinsdag, februari 14, 2006

 

anti injection guideline

http://www.securiteam.com/securityreviews/5DP0N1P76E.html

just reference

vrijdag, februari 10, 2006

 

AnthemNet - ajax project

http://www.codeproject.com/useritems/AnthemNET.asp

bit like magicajax?


and another ajax post

http://www.c-sharpcorner.com/UploadFile/desaijm/AJAXPagerControl02012006220722PM/AJAXPagerControl.aspx?ArticleID=517f72dc-fd5d-43c2-a5d8-994167d4b1df&PagePath=/UploadFile/desaijm/AJAXPagerControl02012006220722PM/AJAXPagerControl.aspx

http://www.dotnetslackers.com/ASP_NET/re-21379_AJAX_Pager_control.aspx

does it ever stop? :-)

donderdag, februari 09, 2006

 

ms webcasts and other stuff

overview of some resources (noting new, just reference):

http://www.microsoft.com/events/series/archdesignsystems.mspx

MSDN Virtual Labs
There is a whole mess of virtual labs you can select from at http://msdn.microsoft.com/virtuallab.
For labs on Microsoft® Visual Studio® 2005 Team System, try out http://msdn.microsoft.com/ virtuallabs/teamsystem/default.aspx.
For labs on Microsoft Visual Studio 2005, visit http://msdn.microsoft.com/ vstudio/tryit/hosted/vstudio2005/default.aspx.
Microsoft ASP.NET 2.0 labs? Yep, at http://msdn.microsoft.com/ vstudio/tryit/hosted/asp2/default.aspx.





MSDN Webcasts
You can find a world of knowledge with MSDN Webcasts at http://www.microsoft.com/ events/series/default.mspx.
For webcasts on ASP.NET 2.0, visit http://www.microsoft.com/ events/series/msdnwebdev.mspx.
For webcasts on Visual Studio 2005, visit either of the following: http://www.microsoft.com/ events/series/msdnsmartclient.mspx or http://www.microsoft.com/ events/series/msdnvsts2005.mspx.
Visual Studio 2005 was just released. Here are the best webcasts from the product launch: http://www.microsoft.com/ events/series/msdnlaunch2005.mspx.

 

Visual Studio Add-In That Converts C# Code To Visual Basic

Who needs to learn both C# and Visual Basic when you have a visual studio add-in that converts C# code to Visual Basic? This is great for those times when you are writing articles for magazines or writing sample code to help someone and you need to convert it to Visual Basic.

http://davidhayden.com/blog/dave/archive/2006/02/08/2793.aspx

by David Hayden

 

Web Service URL should be a config setting --- it already is!

During today's webcast on web services (Wed Feb 8), there was a question related to moving your web service from your dev box to the production box. When the web service moves, the URL will change, so what's the best way to protect your client code from this predictable change? We shouldn't need to re-reference and recompile the client app just because the web service moved. The answer of course is that the URL should be a .config setting. The detail I forgot was exactly what property to set at run-time after you read the URL from the .config file.

http://pluralsight.com/blogs/drjoe/archive/2006/02/08/18684.aspx

by: Joe Hummel

 

C#: Writing extendable applications using on-the-fly compilation

Sometime back I had posted about writing applications that can load plugins using late binding. Users can drop assemblies in a specific folders which is scanned by an host application at startup. Using reflection the host can locate classes that implement a specific interface and instantiate those classes as plugins. The drawback is that the host processes plugin assemblies and you need to store/maintain the corresponding sources elsewhere.

nice article by Abhinaba

http://blogs.msdn.com/abhinaba/archive/2006/02/09/528416.aspx

woensdag, februari 08, 2006

 

The C5 Generic Collection Library

Interesting lib, according there description it would be extending the standard generic class on in a lot of ways..

http://www.itu.dk/research/c5/

The library is Copyright Niels Kokholm and Peter Sestoft and is released under a BSD-style open license

 

New mono project release

deploying should b easyer with this version.

for the apache guys:

http://www.mono-project.com/Main_Page

 

PageMethods for Visual Studio 2005 and PageMethods for Visual Studio 2003 are available!

Not using this lib, but some features sound nice..


http://metasapiens.com/PageMethods/Default.aspx

 

asp.net 2.0 caching features

nice post by Sahil about caching bits and pieces of your .net page

http://codebetter.com/blogs/sahil.malik/archive/2006/02/08/137721.aspx

dinsdag, februari 07, 2006

 

Extending GridView Pager with pagertemplate

Working with the asp:GridView control I wanted to show a more extended pager footer. You can use the PagerSettings to adjust a vew settings:

#pagersettings
mode="NextPreviousFirstLast"
firstpageimageurl="First.gif"
previouspageimageurl="Prev.gif"
nextpageimageurl="Next.gif"
lastpageimageurl="Last.gif"# //replace # (sry, blogger stuff, and yeah yeah, I need to set up a propper blogsite..)

But sometimes this isn´t enough. To gain more freedom on how to implement your pagerbar, you can make use of a pagertemplate.



Notice the Panel, in this sample code I fill this panel with the pagecontrols I want (previous, first, all pages, next, last)

Now we have to set the OnDataBound eventhandler:

OnDataBound="gridAllPages_DataBound"

This method will fill the pagerbar with everything you like.

View the script here (dont´t forget to restore the script tags after Copy/Paste):

http://www.overnight.nl/download/databoundscript.txt

script in action:

cheers,

Frank Kroondijk
http://dotnetpret.blogspot.com/


other ref:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/GrdDetView.asp


 

Dynamic Webparts on ASP.NET 2.0

http://msmvps.com/blogs/guilherme/articles/category/1892.aspx

Have you ever wondered how to dynamically add Webparts to your ASP.NET project?
Well, all you have to do is programatically add a DeclarativeCatalogPart control to your page and set it's WebPartsListUserControlPath property to a WebUserControl that has all your Webparts.

maandag, februari 06, 2006

 

shortcut keys codesnippets

I was a bit confused of how the codesnippet shorcut keys worked but its like this:

#Header#
#Title#controlStringProp#/Title#
#Shortcut#cprop#/Shortcut#
#Description##/Description#
#Author#frank#/Author#
#/Header#

replace # with > and < (stupid blogsite #$"$", have to finish my own site)

intellisense picks it up right away (in this case, start typing "cprop" and press tab twice)
expected some kind of key combination like ctrl+shift+whatever, but thats not the case..


intellisense picks it up right away (in this case, start typing "cprop" and press tab twice)
expected some kind of key combination like ctrl+shift+whatever, but thats not the case..

 

Using ResolveClientUrl in markup

vrijdag, februari 03, 2006

 

another ajax project

http://www.schwarz-interactive.de/

didnt test it yet..

 

Best Practices - ASP.Net

 

Bunch of elearning video´s on ASP.Net 2.0 and other

donderdag, februari 02, 2006

 

free ebook agile programming

http://www.agileskills.org/

 

another ajax post