Encrypting Web.Config
Duplicate of Encrypting config files for deployment .NET and Encrypting config files for deployment What is the best approach and tools for encrypting information in web.config file? ...
Duplicate of Encrypting config files for deployment .NET and Encrypting config files for deployment What is the best approach and tools for encrypting information in web.config file? ...
I'm trying to create a custom MembershipProvider and I was wondering how I would add my user information to the Authentication Cookie that ASP.NET uses. My goal is to get my authentication to work for both the website and the WCF service with ASP.NET Compabatibility mode enabled. ...
i have a log in page and i do cookies with the log in button to can hold the user id from the text then i want every user login see his account on other page in the grid view the lo gin page is work very well but now in the other one the grid view always empty after i do lo gin that is go me to this page here the code of the user account...
How to put the first item on the DropDownList in blank ? In VB is something like, DropDownList.index[0] = ""; I did this: string StrConn = ConfigurationManager.ConnectionStrings["connSql"].ConnectionString; SqlConnection conn = new SqlConnection(StrConn); conn.Open(); SqlDataReader dr; string sql; sql = @"Select N...
Hi there, By default, when using a modalPopupExtender from the ajaxControlToolkit - it is repositioned in the centre of the browser when the browser window is resized. I'm guessing this is some kind of javascript hooked into a window.resize method? I am altering the size of the panel associated with the extender, which puts the popup...
I'm using openid-selector based UI to authenticate user using dotnet openid API. I'm having a small issue, when i select google and cancel and close browser and then open link and select yahoo it redirects me google but not yahoo. i checked that when i click button at bottom on browser status bar it shows correct parameter being sent to...
I want to give users the ability to customize the columns of an asp.net ListView. For example: there are 10 columns of data, a user should be able to select any number of columns to be displayed on their personalized view of a ListView. I have investigated how to accomplish this task and what I have come up with is; implementing the ...
I am using Javascript-JQuery to submit 2 aspx pages, $('#MyForm1').submit(); $('#MyForm2').submit(); for some reason i want form1 to don't start loading or submitting until form1 finish loading. I want all of this to be server side. Can a page wait another page in asp.net? ...
For simplicity I am going to use Northwind as an example... I would like to have a databound DataView that displays "Order" information data from two different entities "Products" and "Order Details" I want to build a web form where when the user clicks on the screen to view a "Order" It would display a single databound Dataview that co...
Hi, Is there a standard way / C# library to convert a string into a user friendly uri in order to use it in a RESTful MVC environment? StackOverflow does this, for example "èòà" are converted to "eoa", question marks are removed while dots, commas and brackets are replaced with "-" and so on. Any suggestion? Thanks ...
How can I disable a DropDownList in ASP.NET? Code: <asp:TemplateField HeaderText="Effective Total Hours"> <ItemTemplate> <%# Eval("TotalHoursEffect")%> </ItemTemplate> <EditItemTemplate> <asp:DropDownList ID="ddlEditTotalHoursEffect" AppendDataBoundItems="true" DataSourceID="dsTHMsql" DataValueField="Minutes" Enabled...
Hi, I have installed a Login control in ASP.NET/C# in login.aspx and after the user has logged in, it takes him to the member.aspx page. All works perfectly fine but what should I do if I want to query a database for some user-specific data? How would I do that? ASPNETDB.MDF is the database, I have created another table with some addit...
My asp.net 2.0 web site generates text files. Sometimes these files can get quite large. Under most cases the files are presented to the user, and approved without modification. However there are times when the end-user has to make changes to these files and submit the changed version back to the system. Currently, when a file needs to ...
If I have a simple class setup like this: class MyClass { private string _myName = string.Empty; public string MyName { get { return _myName; } } public void DoSomething() { // Get the name... string name = string.Empty; name = _myName; // OR...
We have an old web app written in classic ASP. We don't have the resources to rewrite the app. I know that asp and aspx pages can coexist in the same ASP.NET web app, but it appears as those you cannot share Application and probably Session variables across these two groups of page extension types. I was hoping to do new development in...
Hello, i have a webform that generates a file, but when i click the button that produces the postback to generate the file Once it finish if i press Refresh (F5) the page resubmit the postback and regenerates the file, there's any way to validate it and show a message to the user or simply DO NOTHING! thanks :) ...
Can someone explain the concept of sessions in ASP.NET? How do I use them, and how do cookies fit in? ...
I have an asp.net page when Loading this page it creates a Thread to do some thing My Question is : How to kill this thread when the user close the page ? I have tried with "onUnload" event but it just works with javascript function (as I know) and we can't use asp.net code in javascript function Do You have a way to help me ... thanks ...
I have downloaded and installed membership starter kit from codeplex. Now when I create new project I don't see MVC mebership starter kit in list of templates. How do I create new project based on this starter kit ? ...
Apparently I did something to break my iis configuration - now every time I hit a modified aspx file, it makes a file like ve-9D04.tmp in the same folder with the same source. Presumably the compiler is doing this, but I can't figure out what changed to cause this. How do I get asp.net's compiler to stop generating these .tmp files al...