Now a days my company started using some third party tool in our web application they aslo instructed to our team to make the dll for every web application
The steps for creating the dll for web application?
I have a project that uses a CSSHandler with images and css style sheets in the project root directory in their own folders (img, styles, App_themes). I also have a sub application that comes with a MasterPage. The sub application is located in a separate folder in the root directory with all its images, css, and pages. Functionally the sub application works, but the formatting is lost. The images and colors are not displayed. How can I make the sub application's css visible to its pages? It has probably something to do with the way the CSS handler delivers themes and css style sheets?
Is there any way to make application works on same system where it is deployed and will not works if any one copies application and database and deployed to other system, how to prevent that.
1)to use a web application to make a website why does no code behind file appear in code behind?2)when i deploy to a website I need to place the web app .dll in a bin folder on root.This works but to make any changes i need to compile and upload the aspx file as well as the new dll?
As the title says, I wan't to run some code when the application starts. I have a vague idea that there is probably an event in the application life cycle but I am a bit unsure and could do with pointing in the right direction. So how do I make code run when the application starts?
So, after all and after all these projects that have been done. What is the best way and I should consider as standard in the furute to start any further ASP.NET Projects that are database driven.
I have done many using
1. Store procedures and classes
2. One class to handle all the add,delete,update ...etc functions
3. ADO.NET
4. Using sql statements directly on the code (I know not recommended, it was my first project) :))
..and so on
What method you recommend in the future that will save me code and errors and optimize my application speed as well.
I am new to asp.net, i am using .net 2.0.I am developing a web site where one of the function which i need to implement is to my application should download from data from another site and save it on server, based on the details specified by the user. i.e .. the web interface which i developed collects few information from user and generates a url. i am able to do this task ( In general if i copy this link and past it in browser it will download a zip file which will be happening at clinet side).. Now my problem is how to make my application to go to that url and download data and save it in server.
Is there a way to make a desktop application easily interfaceable via Web ? Meaning, can you have a way to interface with a single desktop application as if you were remote desktop'd into the machine but not? I am looking at doing this in ASP.NET or Silverlight.
We have a website on IIS7 using ASP.NET Routing that seems as though it might be running out of resources.It just hangs after a few days, there is no error message or apparent crash.
We are making sure every .Open command is matched by a .Close command on the database connection.
We are doing the same with file Open/Close but there are very few of those.
I want to make my application XSS proof. It should able to resist all types of cross site scripting attack, javascript injection attack, attribute attack etc.
We are looking for very sound solution, not just Server.HTMlEncode(...).
Points:
1. All client side call should be enclosed in double quotes.We are really looking for strong remedation.
In my application i used .resx files. Now i need to deploy my application in a single dll. Once i deploy and add this dll as a refernce in other client applications then the culture specific dlls are added under Bin directory in client application. I don't want this to happen. Should i embed or link the satellite assembly in my applicaion to avoid this? if so how to do this?
In an asp.net mvc application, I would like to be able to generate views, where the routing engine will create all URLs that point to a different site, i.e. change the application path.
the web should follow the REST principle and be completely stateless. Therefore a single URL should identify a single resource, without having to keep the navigation history of each user....and I read the Wikipedia page http://en.wikipedia.org/wiki/REST and it really sounds good, but I don't get how to actually implement it. I'm working in ASP .NET Webforms NOT MVC.
For example, in the application I am about to build - I need my user to Login before I allow them to do anything. There are a couple of hoops they have to jump through before they are allowed to do much useful - like Accept T's and C's and confirm their basic details are unchanged. Finally they are allowed to do somthing they really want like BuyAProduct!It seems to me (I come from the HEAVILY stateful world of the Rich client) that I need state to record what they have done and infer from that what they are allowed to do. I don't see how I can support them (say) bookmarking the BuyAProduct URI. When they arrive at the bookmark how do I know if they have logged in and if they agreed to the T's and C's and if they dutifully checked their basic details?
I love the idea of the app being stateless, partly because it seems to completely solve the problem of "What the heck do I do when the user clicks on the Back and Forward buttons?" I don't see how I can still get it to work properly. I feel I am missing somthing really fundamental about this.
When I start a new ASP.NET project in Visual Studio 2010, I can either create a new ASP.NET Web Site or an ASP.NET Web Application. What's the difference between these two project types? Why would I choose one over the other?
note: this question is an exact duplicate of this one, but I'm asking specifically about Visual Studio 2010 (there are no answers targeted at VS 2010 in the original question). So are the answers of the other question still valid or are there any changes with VS2010 which results in different answers?
I am using Visual Studio 2008 SP1. I face a problem while using Ajax control toolkit. In the Toolkit the Drag Extender is present that can be added to the different component. But is it possible to have specific divisions or panels that can receive my dragged Panel. As in , many sites have the functionality of rearranging the elements in the page itself and all the panels to be rearranged have specific divisions where you can drop the panel. Can we enable Selective Drop in ASP.NET ajax using Ajax Control Toolkit??
all I am using the first mvc tutorial to help make this application. I keep having an issue where this error occurs:
System.Data.Edm.EdmEntityType: : EntityType 'ITmainDB' has no key defined. Define the key for this EntityType. System.Data.Edm.EdmEntitySet: EntityType: The EntitySet LawmMarketOrders is based on type ITmainDB that has no keys defined.
The tutorial video works fine. But when I create this application it creates the above error.
I am Creating Timed online test in C# asp.net.I have created it using the local machine time. But in the case of Database disconnection or system hang, The countdown timer must start from the time at which the machine has hanged or unexpected database disconnectivity.For example the user is answering the Questions for 10mins and unexpectedly system hanged. After recovery the countdown must start from 10mins. Can anyone please help me with coding in C#? I have used the following coding, But its not useful in the above scenario.
I have sql server database in which I have lot of contact person and their telephone numbers. these contact numbers is viewed by user on asp.net form in gridview control, its working fine. User filter the numbers dial the numbers to client through telephone set.
Now I am thinking to merge the call dial and receive funcationality through asp.net form like user have asp.net form have some telephone dial up control, search the number and dial the call on button click event. To talk with client user has headphone.
I want to know how much data is recommended to make transaction in web application at a time. I have 30,000 data. I want to insert and update in different transaction. When I do 30,000 data update at one time, some times it becomes hang web application, sometimes, it becomes timeout. So I want to know what the best amount of data to do Insert or Update at a time. It may be 1000/5000.