.net

Microsoft Expression Web 2 experiences while programming VS studio 2005/2008

Have been programming with VS studio 2005/2008 making ASP.NET applications for a while. I am interested in experiences with Microsoft Expression Web 2 (strengths and weaknesses) ...

how to sell small programs i wrote my self?

i am a .net developer and developed a lot of applications, what i want is to write some good ideas and sell them on the internet, i have my own website, but how to promote for these applications, should i go to download.com Seams that my problem is marketing ...

Is it possible to execute a .NET assembly(dll) from vbscript?

I'd like to execute a .NET dll file from vbscript in a synchronous way - is this possible? if yes, is it possible to execute a GAC assembly? thanks, Ofer ...

Deploying applicaion in different locale than devlopment locale

My .Net .exe is used to read a file and store information in sql DB. On the dev system we had default setting and files in US locale and things were working fine. I used the same .exe and deployed on to our Prod server where the default setting and files are in UK locale. I have used the Datetime.Parse which should be parsing the date...

Whats the best CMS/Website Starter kit for my project?

I need to build a company profile website, which will contain a gallery of images which this company designed before, and will contain the normal stuff, such as about us, contact us, menus for fast navigation, and also need to give this company a way to edit the site them selves, so which CMS/Website template you recommend for me? -Free ...

WinForms WebBrowser Control: Force all links to open externally in a new (IE) window

I think the title covers it all. I use the control to display some basic HTML with some markups and there are maybe also links in there. What I want to do, is to force clicking on any link to get this link opened in a new IE window instead of navigating to that page in the control itself. Any idea? ...

How can I get a reference to the parent object when deserializing XML in C#?

I can't seem to get this working, here is my (stripped down) code: - [XmlRoot("report")] public class Report { [XmlArray("sections"), XmlArrayItem("section")] public List<Section> Sections; } public class Section { public Report Report; } Am I missing something? ...

Making a 2-player web-based textual game

I'm making a simple web-based, turn-based game and am trying to determine what modules exist out there to help me on this task. Here's the web app I'm looking to build: User visits the homepage, clicks on a "play game" link This takes the user to a "game room" where he either joins someone else who has been waiting for a partner to p...

SQL Writing Library

Is anyone aware of a such a thing as a SQL writing library for .Net? I'm thinking it would be wrapper for generating queries in an object oriented style. Maybe something like the following: class SelectQuery : BaseQuery { List<Column> SelectedColumns { get; set; } Table MainTable { get; set; } List<Join> Joins { get; set; } ...

WCF service connection issue - maybe security?

I am trying to debug a WCF service. This client has been able to connect in the past, but now I cannot connect. The service is deployed to a server. I can hit the server's service page with the browser and I see the instructions for generating a client. I re-generated the client proxy and configuration file using svcutil. The client sta...

.NET DataSet implementation under the hood

Can anyone give me any pointers to resources detailing the structures and algorithms used "under the hood" of the .NET DataSet class? I'm currently working in a language that doesn't have an implementation of a generic in-memory data structure like the DataSet class. I may end up having to build one myself (but not as extensive!), but ...

Creating a Class Library in VB.NET

Hi Everyone. I need to create a class library in VB.NET that will connect to an Oracle database. I would then be executing some functions to retrieve informations from a database. I would then need to utilize this class in ASP.Net 2.0 project. Would someone care to point me in the right direction in achieving this? Thanks. ...

Inserting rows into a database in ASP.NET

I am new to .NET, and I'm can't seem to figure out something that should be simple. I want to insert a row into a table, and initialize it with values that aren't bound to data controls. Specifically, I have a CreateUserWizard control on a page. In the CreatedUser method, I want to insert a row into a databse I created called "users" tha...

Is Linq2XSD Dead?

Does anyone have any updates on this since the alpha 0.2? ...

What's the difference between the .NET Unit Testing framework out there?

I've heard many different opinions as to what makes one better than another. But can anyone provide a technical explanation as to why I should choose one unit testing framework over another. For example, I use Visual Studio Team System. Why would I choose an Open Source testing framework (NUnit, xUnit, MbUnit, etc) over Visual Studio's b...

Is broadcasting faster than a random SYN/ACK scan for a particular port?

The project I'm working on uses P2P to transfer data between peers much unlike Bittorrent. This component does a random scan on each interface to see what devices are on the network. So far it has been implemented as a Socket connection which checks whether it has succeeded in connecting by trying to connect to the program's listening po...

Missing the 'with' keyword in C#

I was looking at the online help for the Infragistics control library today and saw some VB code that used the With keyword to set multiple properties on a tab control. It's been nearly 10 years since I've done any VB programming, and I had all but forgotten that this keyword even existed. Since I'm still relatively new to C#, I quickl...

Standalone DataTable in .Net

Can I use the DataTable class like this: DataTable client = new DataTable("client"); int primay_key = 1; DataRow row = null; row = client.findBy(primary_key); After findBy, will the row object contains a row from the database? I cannot find a example like that on the internet, looks like the .net built in DataTable class is not wh...

.NET two "forms" on a page and their validators

Hi, I have got a page that has 2 "forms" (What I mean by a form here is a Panel consisting of: textboxes, validators and a button). (I got 2 here because one of them is actually on the MasterPage, shown all the time) The problem is when you try to submit to one of the form, it will validate the other form, which of course is blank and...

WinForms data binding - Bind to objects in a list

I need some help/guidance on WinForms data binding and I can't seem to get Google to help me with this one. Here is my scenario. Consider the following classes which is similar to what I need: public class Car { public string Name { get; set; } public List<Tire> Tires { get; set; } } public class Tire { public double Press...