.net

Login method Customization using GINA

DUPLICATE:http://stackoverflow.com/questions/523912/login-method-customization-using-gina Hi All, I know it's not easy to find a master in GINA, but my question is most near to Interprocess Communication(IPC), I wrote my custom GINA in unmanaged c++, I included it a method that checks for validity of a fingerprint for the user try to...

ASP.NET: Your most used httpmodules

Interested in description of your most used ASP.NET httpmodules that solved a specific problem for your webapp. Best practices and in-the-field usages are welcome. ...

.NET or Mono vs Qt, which one for cross-platform development?

OK, this is minefield, but trying to understand why one would pick .NET (or equivalently Mono) for cross-platform development over the other toolkit is difficult without experience in the both. For programmers who may have used both, what features would be missed or desired? Conversely, what would a user of one find missing from the...

User authentication and authorisation in ASP.NET MVC

What is the best method for user authorisation/authentication in ASP.NET MVC? I see there are really two approaches: Use the built-in ASP.NET authorisation system. Use a custom system with my own User, Permission, UserGroup tables etc. I'd prefer the second option, because User is part of my domain model (and I have zero experience...

Making all Apps on a Server Use SQL Session Manager

Is there any way to make all the applications on a server use SQL Server as the session manager? The reason is that we have a server with hundreds of applications and we want to start load balancing the server but it will be a big hassle to configure each individual application to use SQL Server as the session manager. It will also p...

Windows style text editor for .NET

Can you guys recommend a Windows style text editor control for a .net winforms application? Under $100 preferably. ...

determining your location using ONLY wifi signals?

i will be working on a project that tries to determine your position using the wifi signal strength from a few access points. i was wondering if anyone knew of any similiar projects or any articles on that topic if anyone cares: its a research project in at my university. the app is written is used as a playing ground to develop new wif...

.NET Backgroundworker Object's Thread Priority

I am trying to use the .NET Backgroundworker Object in an application I am developing. All the material on the internet say that this object runs in the "background" but nowhere have I been able to confirm that this background thread indeed runs in a "low priority" mode. This question arises because in Windows (I assume) a background ta...

Is this code threadsafe?

I'm writing some code where the UI thread need to communicate with the background thread doing network communication. The code works, but would it be considered thread safe? I would feel a lot better if someone experienced could lead me on to the right path on this... static Mutex^ mut_currentPage = gcnew Mutex; static array<unsigned c...

Windows API and .net languages

People always advised me that if I am doing some application that should use some Windows APIs to do any process level job, I must use VC++ and not any other .net language. Is there any truth in that? Can everything that can be done using VC++ be done in other .net languages also? Are all the .net languages the same when their capabil...

What's the simplest way to import a System.Data.DataSet into Excel?

In .NET 2.0 (in this case VB), is there a standard API that'll serialize a DataSet object into a stream that can be saved as a tab-delimited file and opened directly in Excel? Or does one have to create the delimited file manually by iterating through the members of the table collection? In this case, the DataSet's small, consisting ...

HTTP Post Though C#

Hi, I want to code a auto bot for a online game (tribalwars.net) , I taking Programming A Lessons in CSharp (In School), but Network Programming coming in B or C Anyway I wonder if it is possible to make http post though C#, Can give a example ...

Is it possible to write malware that runs on .NET?

I've heard of security features in the framework and the BCL, but does this have anything to do with preventing malicious programmers from writing harmful software, or preventing malware from running on the CLR? For example, is it possible to write a program in C# that makes harmful changes to the Windows folder? ...

ASP.NET MVC - CSS Class in a ViewUserControl - The class or CssClass is not defined.

I have a <table/> in a ViewUserControl that I have given the tag a class="tblRaised" attribute/value. Visual Studio keeps underlying tblRaised and telling me - The class or CssClass is not defined. Why is the intellisense engine trying to validate my CSS class names here? Anyone else run into this? Is this a bug? How would intellisense...

C# ComboBox in DropDownList style, how do I set the text?

I want to use a ComboBox with the DropDownList style (the one that makes it look like a button so you can't enter a value) to insert a value into a text box. I want the combobox to have a text label called 'Wildcards' and as I select a wildcard from the list the selected value is inserted in to a text box and the combobox text remains 'W...

Drawing over a TextBox in .NET Compact Framework

Is it possible to draw over a TextBox control in .NET Compact Framework? I want to create a watermark over it. I have read this answer. It's currently my best approach, but I do not want to limit myself to displaying the watermark only when the TextBox does not have the focus. I'm ready to try any hack! ...

What is a good method to handle line based network I/O streams?

Note: Let me appologize for the length of this question, i had to put a lot of information into it. I hope that doesn't cause too many people to simply skim it and make assumptions. Please read in its entirety. Thanks. I have a stream of data coming in over a socket. This data is line oriented. I am using the APM (Async Programmi...

32-bit Build Server and 64-bit Production Server for .NET Web Apps

Our workstations are running 64-bit Vista, and the production servers for our ASP.NET MVC web apps are 64-bit Server 2008 servers. However, our build server running TeamCity is a Server 2008 32-bit server. We will taking these builds and deploying them on the 64-bit production servers. The applications are written all in C#. Should I...

.NET - 3rd Party Grid Control - AutoFill

Anybody know of a good 3rd Party grid control that supports AutoFill (like Excel does). Also a good export to Excel and import (paste) from Excel would be handy also. I'm mainly interested in a WinForms grid that can do this, but would also be curious if there is a Silverlight grid or ActiveX grid with AutoFill capabilities. ...

Creating an installer for updated WinForms app

I released an app and I've implemented a user-requested feature and would like to release a new version. I'm not sure how this is typically done - is there some setting in the .NET setup project that I can use to tell it to just overwrite certain files if the application is already installed, or do I have to generate a patch somehow? I...