Geeks With Blogs
finally{} My interactions with .Net and Web development - What's most important is what happens finally{}
Helo all, I've migrated my blog to http://www.techenvelope.com/
Posts about technology, code and more will continue there.
So update your bookmarks to tech:Envelope

In Visual Studio.Net 2005 things have changed quite a bit. For better. But for people who resist changes, they're gonna have some starting trouble. Like the following ones. For me. May be for you as well. Problem 1:I want to run my webservices under IIS, not on a developement server with some port (For ex: 4187) which kicks off while debugging (when ......

It is possible to do string manipulation like replace etc in XSLT as well. Javascript has str.replace right? So in XSLT you can do this by creating templates and by doing call-template. Follow this link for complete info and source codehttp://www.dpawson.co.u... ......

// Getting a stream object from a MyJavascript(.js txtfile) in the Resources. // In VS-2005 > .Net 2.0 objMyStream = new System.IO.MemoryStream( System.Text.Encoding.UTF8.G... Properties.Resources.MyJava... ......

Today, one of my teammate was getting a "TargetInvocationException" : Exception has been thrown by the target of an invocation. This reminded me of my 'initial learning curve' days in .Net when I encountered this exception, and had a really hard time fixing this one. I can't remember how we(There were other team members who worked on this as well and ......

When you have to pass in a file path to do some processing with the file, try using the following C# code. string path = Path.Combine(Environment.Cu... @"..\..\TestDeserialization... Where, The TestDeserialization.xml file is in the Project root directory. It helps to avoid confusion in file paths ......

Don't - Say "Hey, I got a NullReferenceException," what's the problem?Do - Provide a Stack Trace/Dump with the line number it likely happened on. Don't - Get deep into your complicated program, find a bug and insist it's BillGs fault.Do - Reproduce the bug in some simple test program and tell the world. Remember, 9/10 times it's you. Don't - Decide ......

In my last post I mentioned that SQL Server 2005 provides with you with the flexibility of having an XML document stored into one single column of “Xml” datatype. Just like a int, datetime or a nvarchar() datatype, you can define “Xml” datatype to store the whole Xml document or a fragment as long as your XML is valid. But the ......

Create a class inherited from ServicedComponent class by referencing System.EnterpriseServices. Write the logic in it and declare methods. Add class hierarchy as necessary. Compile the project. Go to command prompt and on to the bin\debug folder, and type in sn -k CalculatorServiceComponent.snk This is to strong-name and write the key pair to the .snk ......

“Don’t start a business if you can’t explain what pain it solves, for whom, and why your product will eliminate this pain, and how the customer will pay to solve this pain. The other day I went to a presentation of six high tech startups and not one of them had a clear idea for what pain they were proposing to solve.” (via Joel ......

At work I got installed the new SQL server 2005 express edition, with VS.Net 2005. Through the Visual Studio's server explorer I was unable to connect to my SQL express. After trying different things, I downloaded the SQL Server Management Studio Express CTP. But it had so many runtime bugs, that I couldn't help stop using it. I even tried setting up ......

Design patterns are recurring solutions to software design problems you find again and again in real-world application development. Patterns are about design and interaction of objects, as well as providing a communication platform concerning elegant, reusable solutions to commonly encountered programming challenges. The Gang of Four (GoF) patterns ......

I gave a presentation on AJAX today. It was a knowledge sharing session at my company. Around 35 people attended the session. Though quite a few appeared silent and uninterested, there were some who were interested. Update: I got some valuable feedback on my presentation, which is as follows. 1. You have good knowledge on the topic, you could have connected ......

This is one more super duper example for the power of AJAX (Asynchronus Javascript And Xml). We had GMail, Google Suggest, Google Groups, GMaps etc already showing the power of it. I had already tried it out for a Pubs database using C#, just like Google suggest. But the dictionary idea is real good. Check it out: http://www.objectgraph.com/... ......

Copyright © Vinayak | Powered by: GeeksWithBlogs.net