How can i tell SubSonic 2 to use a different .config file?
I'm using SubSonic 2 from within a project and I'd like to specify a different .config file from the default App.config. How can I tell SubSonic to use a specific config file? ...
I'm using SubSonic 2 from within a project and I'd like to specify a different .config file from the default App.config. How can I tell SubSonic to use a specific config file? ...
Is it possible without writing your own proxy? I have thought of using an open source proxy but it would only work with http bindings. ...
I've searched around for a solution as best I can, but it seems I'm at a loss somewhere. This is my first dive into Fluent NHibernate & NHibernate. The short version (which will still be long) is that I have a database that has tables User, Role, UserRoles. The relationship b/t them should be fairly intuitive...A user can be assigned mu...
Can we check if a running application or a program uses .Net framework to execute itself? ...
Do all versions of Windows 7 include version 3.5 of the .NET Framework? ...
I have a .NET MDI form based application. I would like to contain errors thrown in a child form within that form so I can invalidate it without closing the entire application. Is there a solution that does not involve catching all errors in Application.ThreadException? ...
I want to write a small application that can: 1. monitor URLs requested via a web browser and/or 2. monitor incoming http responses on the local machine I have been doing some Googling, but I am not finding any clear answers. I am thinking maybe System.Net.Sockets.TCPListener and messing around with it, but I am under the impression t...
I have this class: [Serializable] public class Element { [XmlAttribute("maxOccurs")] public int MaxOccurs{get; set;} [XmlAttribute("minOccurs")] public int MinOCcurs{get; set;} [XmlAttribute("name")] public string Name{get; set;} [XmlAttribute("nillable")] publ...
Is there any .NET tool to expose the data of my tables in Microsoft SQL Server as web services? Do I have to write the code? Are there any samples? What do your recommend as to how to expose the data? ...
I want to set "person" properties of student1 to person1. Is this possible doing it with assigning or any way without setting properties one by one ? static void Main(string[] args) { var student1 = new Student {Id = 1, Name = "kaya", Class = "3b", Number = "156"}; var person1 = new Person { Id = 2, Name = "hasan" };...
hi every body i am building a chat system i want if user send a message or recive a message the color of the nickname is blue in the richbox ...
Is there a headless browser for .NET? I am looking for this in a testing context. Coming from Java I am thinking of something similar to HtmlUnit (http://htmlunit.sourceforge.net/) which itself is the base for different higher level tools like Canoo WebTest or Celerity. I would like to create automated UI tests for web applications in...
I'm using an asp:TextBox as the wmd-input. As the user clicks the submit button I wan't to capture the markdown at server side as the Text property of my asp:TextBox control. However, instead of the expected markdown, my TextBox at server-side contains the HTML formatted version of the markdown: <h1>testing</h1> How do I get the pure ...
I'm thinking about using/implementing some kind of an embedded key-value (or document) store for my Windows desktop application. I want to be able to store various types of data (GPS tracks would be one example) and of course be able to query this data. The amount of data would be such that it couldn't all be loaded into memory at the sa...
Sometimes it may be useful to transform markdown to pure text (for sending in e-mail for instance). Does any of these libraries support this functionality? (I'm actually more insterested in MarkdownSharp) EDIT Responding to Jorn's comment. I'll clarify what I expect from this kind of conversion: Markdown has special characters that, d...
Currently my application is 32-bit. This means that all tables running on SQL Server 2008 IDs' are INT that is equal to System.Int32 and everywhere where I parse strings to integers, I use Int32.TryParse(). I called this Implicit int size indication. If I will want to make my application to be 64-bit I think there will be 2 scenarios:...
I have the following code to send a query to youtube and send the total result to a textbox. If I just alert the result, it's OK but I can't assign the result to a textbox. Please explain to me why? private void SearchVideo(string keyword) { string orderBy = ""; switch (cboSortBy.SelectedIndex) { case 1: orderBy = "p...
I've made a project in Visual C# 2008 Express with several interfaces with a service contract. I generate a WSDL from this using the scvutil.exe tool. All this works perfectly: I get a nice and working WSDL file. However I would like the tool to generate separate WSDL files for the different interfaces. Now it puts everything together in...
Is there a C# class that provides map with weak keys or/and weak values? Or at least WeakHashMap like functionality. ...
I need to send some data from a SQL DB Server on an internal network to an external web server. I was hoping to accomplish this by writing a VB.NET app that is invoked once per day that sends about 1 MB of data to a PHP script on the web server, where it is deposited in a database. What is a good method to send data to a PHP script fro...