PingBack from http://jeranderson.wordpress.com/2006/08/14/testing-windows-live-writer/
news of the day a grab bag for what's happening in Community Server The Community Server 2.1 SDK
I had downloaded the beta of VisualBlogger 2004 from Interscape Technologies , and had some problems
Robert McLaws listed some of his peeves about WinForms 2.0 . A lot of them I agree with, including the
SharpDevelop 2.1, revision 1157, allows VB.NET projects to target the older Microsoft Frameworks and
This is just my favorite way to generate XML files on fly. Often I need to create an XML file in memory
Alexey had two informative comments ( 1 , 2 ) for my one of my recent posts about using StringWriter
You've been kicked (a good thing) - Trackback from DotNetKicks.com
You could also use Regex to make really quick work of this:
Imports System.Text.RegularExpressions
Module Module1
Function GetInitials(ByRef fullName As String) As String
Return Regex.Replace(fullName, "^(?'b'\w)\w*,\s*(?'a'\w)\w*$|^(?'a'\w)\w*\s*(?'b'\w)\w*$", "$2$1", RegexOptions.Singleline)
End Function
Sub Main()
Console.WriteLine(GetInitials("David Findley"))
Console.WriteLine(GetInitials("Findley, David"))
End Sub
End Module
actually just noticed I forgot to change the replace string. Should be this:
Return Regex.Replace(fullName, "^(?'b'\w)\w*,\s*(?'a'\w)\w*$|^(?'a'\w)\w*\s*(?'b'\w)\w*$", "${a}${b}", RegexOptions.Singleline)
The basic gist is this:
^ matches start of string
(?'b'\w) captures 1st character of a word and sores it in a group called 'b'
\w* matches 0 or more characters (rest of the name)
, matches a comma
\s* matches 0 or more spaces
(?'a'\w)\w* matches the 2nd part of the name cpaturing the first letter into a group named 'b'
$ matches end of string
| or the alternate pattern w ithout the ,
Notice the 'a' and 'b' are swapped
Regex is def more complex but you can do alot of stuff in a small amount of code.
So I'm trying to upgrade a spaghetti-code Classic ASP application to ASP.NET 2.0. I have to maintain
Since the status code will be set to 401 you could use the customErrors section to redirect to a aspx page but if the authentication fails the status code will be set to 401 as well. Therefore in the ASPX where you redirect to you could check if the IsAuthenticated flag is set to true for the current request.
It would off course had been better if Microsoft would make sure that the PostAuthorizeEvent would always be raised regardless whether or not the user is authorized.
That's bizzare. Nice of MS to redefine "trial" for us. Thanks for the tip (although I already downloaded the DVD image).
PingBack from http://chaespot.com/web2.0/2007/04/05/zimbra-webajax-based-outlook/
PingBack from http://liangwu.wordpress.com/2007/04/11/interesting-finding-04112007/
PingBack from http://dontrepeatyourself.wordpress.com/2007/05/15/automatically-load-the-aspnet-web-server/
From Robert McLaws Blog: Provider Model Misconceptions From Michael Tepers Blog: More on MembershipProvider
lately i here questions from developers working with .net 1.1 but would like to use the VS2005 IDE so
ASP.NET 2.0 Development Server (Cassini) - right-click menu in Windows Explorer
ASP.NET 2.0 Development Server (Cassini)
One new subscriber from Anothr Alerts
university of houston main campus address
I get lots of questions on how to become an MVP, so I thought I'd make a blog entry about it. My most
weblogs.asp.net/.../396941.aspx weblogs.asp.net/.../archive
Pingback from Web 2.0 » Blog Archives » Enterprise RSS Feed Servers and RSS Readers - Attensa Blog - Attensa
myspace hide comments and friends code
hot free layouts codes for myspace
Pingback from Ghillie Suits » How to Become a Microsoft MVP - Robert McLaws: FunWithCoding.NET
Pingback from cthrall.com » Blog Archive » XmlWriter Got You Down?
Robert puts comment spammers in his cross hairs: CommentSpam.org - Taking The Fight To The Spammers Three
Pingback from pk stuff » ASP.NET Testing Server
Pingback from Feed Search Engine - All Fresh Articles And News Are Here
Pingback from Expression Web Doesn't Do Non-GAC'd 3rd Party Controls
Pingback from I Can't Have What I Want
Pingback from Adding OpenSearch for your CommunityServer Site
Pingback from What Should ComponentOne Have Done? | MikeSchinkel.com
Pingback from What Responsibility the Component Vendor? | MikeSchinkel.com
VS2008 Web Server Here Shell Extension
Pingback from Installing Sharepoint Services (WSS) with Project Server 2003 - Part I « Can i help you?
Pingback from Dan Rigsby » Microsoft MVP in Connected Systems
Pingback from dasz.at - Benutzbare Technologie» Blog Archive » ASP.NET 2.0 Web Server Here
Pingback from Visual Studio Projects on Network Shares « Critical Development
Pingback from CLisp sample in .NET | keyongtech
Pingback from ObjectSpaces? | keyongtech
Pingback from taken weergeven in agenda | hilpers
Alex Chang Originally Published: March 22, 2004 7:44 Installing Sharepoint Services (WSS) with Project
Nice list! .. Every 3 months, a new round of MVPs are announced. So I thought I'd take a moment to write about the "Unofficial" Criteria for selecting an MVP.
Pingback from NHibernate, WCF, UltraGrid, Xml Validation and more. « Dmitry's Blog
ASP.NET 4 Web Server Here Shell Extension
This is a fantastic post which Truly explains the @mvpawardprogram http://weblogs. asp.net /rmclaws/archive
Pingback from .NET Applications over a network share « nimraynn.net
Pingback from The Visual Studio Song and other technical goodness… | core / dump
Pingback from Onderweg Blog » Blog Archive » INotifyPropertyChanged and TrackedList
Pingback from Twitter Trackbacks for Optional Parameters in SQL Stored Procedures - Robert McLaws: FunWithCoding.NET [asp.net] on Topsy.com
MVP, how to add value ? http://weblogs. asp.net /rmclaws/archive/2005/04/03/396941.aspx
Pingback from Run the ASP.NET 2.0 Development Server From Any Folder « vaderpi's random rants
Pingback from Overloaded property | Molicyber
Pingback from Custom installer for deployment??project | some assembly required, batteries not included
Pingback from Generating images of fancy fonts on the fly. | some assembly required, batteries not included