Forms based Authentication (.NET) in PHP or other Web applications
We have a site built using Forms based authenication in .NET, is there any way of accessing these sessions / user variables and roles in a PHP application? ...
We have a site built using Forms based authenication in .NET, is there any way of accessing these sessions / user variables and roles in a PHP application? ...
Hi Friends I am trying to deserialize a hidden control field into a json object the code is as follows Dim settings As New Newtonsoft.Json.JsonSerializerSettings() settings.NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore Return Newtonsoft.Json.JsonConvert.DeserializeObject(Of testContract)(txtHidden.Text, settings) But I am ...
Hello I haven't used any database system enough but i believe i know logic of databases and i have learnt little sql so i shouldn't start to learn ORM before learn them well? Where can i start to learn .NET Entity Framework and which version of framework i have to start 3.5 or 4.0 because i heard that 4.0 has strong support for Enti...
When invoking a query on the data service I get this error message inside the XML feed: <m:error> <m:code></m:code> <m:message xml:lang="nl-NL">Internal Server Error. The type 'MyType' is not a complex type or an entity type.</m:message> </m:error> When I use the example described here in the article "How to: Create a Dat...
I'm inprocess to create a simple application that draws chart using the data from SQLite. Is it possible ? I'm trying to go this way for developing application: connecting and processing data using SQLite Fetching SQLite data for chart control and display results on chart I'm using C# with sharp develop for this simple project. A...
We are a bit lost here. We need to make our app installable on a network with +80 Citrix servers. Although our app is 100% valid and working .NET, we've experienced some (for us weird) behavior: You cannot use any "Documents and settings" folders for storing data or settings. Apparently these folders are virtualized and are located in ...
I had a C# .NET windows application having C# user interface and all the code behind processing is done by calling C++ dll (C++ class library project) which is added as a reference to the C# project. However recently when I formatted my computer and again tried to run my project which was backed up, in visual studio 2005 it gave the fol...
Hi I dnt have Assembly Info file I have a code generator that copile the code using System.CodeDom.CodeCompileUnit, but always on compiling code Assembly File version and Assembly version remain 0.0.0.0 Any answer will really appreciate. Thanks ...
I need to know the usage of #if in C#.NET...Thanks.. ...
I want to catch Memory Access Violation in SQL Server Compact Edition like this described at http://debuggingblog.com/wp/2009/02/18/memory-access-violation-in-sql-server-compact-editionce/ The suggested config is: <ADPlus> <Settings> <RunMode>CRASH</RunMode> <Option>Quiet</Option> <ProcessName>MyApp.exe</ProcessName> ...
I am working on a project to deploy a project via clickonce. The website where these files are housed will only accept HTTPS traffic and if you attempt to connect via HTTP, our siteminder agent will redirect you to a HTTPS login form. We cannot disable the siteminder agent or enable HTTP for security reasons. In the application file, I...
How can be autocad file (dwg) converted to jpeg or gif file using java api or or .net library. Without using the convertors Thanks in advance ...
I have a .NET CF project. In the project directory I put a simple xml file (users.xml) which has to be read by the device. When I debug the application on device emulator and try to load the file from code, the Exception is thrown (FileNotFoundException "Could not find file '\\users.xml'."). Is there a mechanism to automatically deplo...
Hi, The frequency with which I am coming across the situation where I have to call native 32-bit code from a managed 64-bit process is increasing as 64-bit machines and applications become prevalent. I don't want to mark my applciation as 32-bit and I cannot obtain 64-bit versions of of the code that is being calling. The solution tha...
I have a string representing bits, such as: "0000101000010000" I want to convert it to get an array of bytes such as: {0x0A, 0x10} The number of bytes is variable but there will always be padding to form 8 bits per byte (so 1010 becomes 000010101). ...
I am trying out Castle ActiveRecord. I want to use the Validation features AND the LINQ features. In order to use LINQ, you can either: My preference: Make your entities inherit from ActiveRecordLinqBase<T>, then to query: var blogs = (from b in Blog.Queryable select b).ToList(); Use ActiveRecordLinq.AsQueryable<T>, e.g.: var blogs ...
How can I popup a windows explorer on a specific folder with a specific file highlighted ? I'm interested in solutions for XP, Vista and Windows 7. ...
I have need to cast a generic list of a concrete type to a generic list of an interface that the concrete types implement. This interface list is a property on an object and I am assigning the value using reflection. I only know the value at runtime. Below is a simple code example of what I am trying to accomplish: public void Employ...
I cannot figure out how to pass (constant) arguments into my Windows service when it is started. I'm using the standard .NET classes like ServiceBase to implement (and ServiceProcessInstaller and ServiceInstaller to install) my service. On the general tab of a Windows Service properties dialog box (once installed), there's a "Path to ex...
--Update-- I've continued to look into this issue but have had little luck. The only work around I've found was to create a function which uses reflection to grab the private field that stores the password from the underlying DirectoryEntry object in the PrincipalContext, which I then use to create a new PrincipalContext with the same ...