Browse by Tags
All Tags »
Framework 2.0 (
RSS)
This Addin add new option to the debug menu for each project (When right clicking from Solution Explorer). Features Starts a new instance for the selected project. In case the project is not executable, a dialog is popped asking the user what to do. Requirements Microsoft .NET Framework 2.0 Visual Studio 2008 For more information click here . Download Version 1.0.0
Failed to access IIS metabase System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase I solved this by Reinstalling the .NET 2.0 Framework via aspnet_regiis -i Mutex could not be created System.InvalidOperationException: Mutex could not be created The Solution for this error is bit more complicate: Close all opened Visual Studios. Navigate to C:\Windows\Microsoft.NET\Framework\v2[....]\Temporary ASPNET pages. Delete the folder for your application (You can delete the temporary...
Whenever possible, i rather to use UserControl instead of WebControl, since WebControls are more complicate to create and later on to maintain. But in case that i have to build a WebControl, i rather build a CompositeControl. Way CompositeControl? CompositeControl eventually inherit from WebControl, but each control inside the CompositeControl manage its own life cycle events and the ViewState / PostBack data. This means that we going to save a lots of code writing by not handling this events our...
ASP.NET offers some nice tools to use with our common web sites development. Some of them is the Menu and TreeView controls. Consider the following SQL Table: lets say I want to display all the child categories under there parent categories in a nice DHTML menu. First Step - Add a Menu control to the ASPX file. < asp:Menu runat ="server" ID ="Menu1" > < DataBindings > < asp:MenuItemBinding TextField ="CategoryName"...
Soooo, its been very busy 2 months for me. I've started a new project for one of my company customers. I also passed 2 MCP exams 70-356 / 70-528 which makes me an MCTS - "Microsoft Certified Technology Specialist", and still I have few more test to become an MCSD. In the new project I started, I needed to map all the references dependencies between the 52 (!!!) class libraries exists in the solution - Its very hard to map this manually, and probably will take me forever. I found...
I didn't find a way to delete projects from my Recent Projects List in visual studio 2005, so I made this Add-In to manage them. Place the 2 files in the RecentProjectsManager.zip (Attached) into the Add-In folder: MyDocuments\Visual Studio 2005\Addins Load the visual studio, click "Tools" and then "Recent Projects Manager" Please let me know about any problems you encountered: gilad.lavian@gmail.com
Here is a little IRC API that I wrote allows you to connect to IRC server easily. The syntax to create the IrcClient is: 1: //Set the server details 2: ServerInfo serverInfo = new ServerInfo( "irc.mircx.co.il" , 6667, "GiladBot" , "Gilad C# Bot" , "gilad.lavian@gmail.com" , "#test" ); 3: 4: //Create a IrcClient 5: IrcClient ircClient = IrcClientFactory.CreateIrcClient(serverInfo); 6: 7: //Subscribe to the irc server events 8: ircClient.OnServerText...
I’m sure everyone knows the “Luts Roeder’s” Reflector application. For those of you how don’t, reflector gives you the abbility to inspect compiled DLL (compiled by .NET compiler to IL), and to see the methods, properties, variables inside the DLL exactly as the programmer wrote them, in your preferred language – C#, VB.NET. Not once, I wanted to extract the code inside the DLL out to his source files for “learning” purposes and to inspect and even to re-build the code again on my machine. The only...
Here is a great way to transform an XML string returned from DB Query to a HTML using DataGrid/List... The xml represent by the StringReader, witch implements a TextReader that reads from a string. Then loaded to DataSet (by ds.ReadXML), and finally binds to the DataGrid. //Supposed this is the text returning from DB... string xml = "<rows><row id='1'><name>Gilad</name><address>Burla</address>" + "<country>Israel</country><...