Configuration :: Distribute Aspx Files On Disc?
May 21, 2010I have a collection of aspx files that I need to send to a client on a CD/DVD who may or may not have IIS and the .NET framework installed.
View 1 RepliesI have a collection of aspx files that I need to send to a client on a CD/DVD who may or may not have IIS and the .NET framework installed.
View 1 RepliesIf we are deploying ASP.NET web application, Do we need to copy both *.aspx and *.aspx.cs files on the server?Also what if I am using different framework version? I mean 1.1 / 2.0 /3.0 /3.5 /4.0? What will be the answer in different .NET Framework versions?
View 5 RepliesDoes executing "Aspnet_compiler.exe" turn my source files into DLL's so that source files are no longer needed?
View 4 RepliesI am using Visual Studio 2008 and my project is a Web Application Project so that I can compile my all files in just one assembly.
It is working but web form code behind files are compileing into single assembly but aspx files are not compiling. In addtion, these aspx files are present in the directories and they can be viewed.
Is there any technique to compile my all files into single assembly?
I published my brand new site the first time to the brand new server and when testing it I noticed that none of the .aspx.vb code behinds was deployed and I got an error that those were missing.
View 7 RepliesI have no experience in ASP.NET development.We have installed a Webmail product from Afterlogic. we have to remove the markup for a logout button. but we are not able to edit the .aspx files. we can remove the markup for the button compleately.but it is still there on the page when we refresh.Do we have to recompile the whole thing each time we make a change ? Is this some sort of cache problem ? We have tried to delete the browser cache. but it had no effect.
View 2 RepliesI have made an application for some customer that I'm going to transfer to a webhotel.I want to make sure that the application is not copied and used elsewhere without my knowledge. So I have thought of stripping the aspx files from their code behind, that is not the aspx.cs file itself. But from all code inside the cs file, not the one that is automatically generated like page_load etc, but everything else. And when done, then just upload the compiled DLL file(s). Does this work? Are there something to be mindful of if I carry out with this plan.
View 2 RepliesI want to publish my web application as a single .dll file without all the source code and .aspx markup pages.
I am using VS 2010 with the "Web Deployment Project" add-in. In the compilation settings, I unchecked "make this site updatable" because I want the .aspx files to be compiled as well.
Publishing my web application using the publish feature in VS 2010 works fine, and a single .dll file is created in the "bin" directory.
But all the .aspx markup files are still copied to the web server! I've read that those files are merely marker files which can be deleted, but not in my case. They still contain the whole markup and when I delete them, my application won't run anymore.
It's like I had checked the "make this site updatable" option, but I haven't!
[code]....
I am running a web-site with simple .aspx files on a standalone workgroup Windows Server 2008 called 'Max'.I had assumed that the .aspx files were accessed by the 'Network Service' account.The application pool for the website is running with 'Network Service' as the process account.I was puzzled, since 'Network Service' had no permission on these files. So I added event level auditing to the files, and I was suprised to learn that the .aspx files were being accessed by an account called Max$ (ie the computer account).this correct ?Why is the Network Service account not being used ??
View 3 RepliesI've just setup a new site on my IIS6 and I'm experiencing the following problem:
I can run normal HTML pages, but no .aspx files. If I call the aspx page directly I get a 404 - file not found - error message. This only happens with .aspx files.
I want to know how can I load my files (file1.aspx and file1.aspx.vb) in a container on my index.aspx. My index should have my menu and my container. My problem is that i don't know how do that... options wich i tried:
Iframes: yes work it... but in html 5 iframe will dissapear...
MasterPage: isn't the solution because this refresh all index page.
Ajax: yes.. charge my File1.aspx in the container but i can't call the functions of File1.aspx.vb...
I've inherited a bunch of code that has server script inside of .htm files.
On IIS, a handler mapping pumps.Htm pages though the asp.net engine.
Unfortunately, visual studio doesn't notice that they should be treated as code.
Is there any way to make VS treat .Htm files as code/aspx files?
I upgraded my site from asp to asp.net.This means that all of my previous asp files became obsolete.I don't want to lose my Google Ranking of the old pages.
What is the proper way to redirect?I tried to catch all of the old asp pages is my 404 and then to:
if Request.QueryString("aspxerrorpath").contains("index.asp") = true then
Response.Status = "301 Moved Permanently"
Response.AddHeader("Location", "http://www.domain.com/index.aspx")
Response.Redirect("/index.aspx")
end if
but it doesn't catch asp pages, only aspx.
I have a designer working on several pages in Dreamweaver. The designer is creating .aspx files with the Page directive at the top. These are getting shipped to me and I'm adding them to the Visual Studio ASP.NET WebForms Web Application Project. The problem is that there's no code-behind file by default, and I'm trying to find a shortcut to have them autogenerated as if I've added a fresh page from Visual Studio.
View 3 RepliesI need to change the encoding from Western European... to Unicode... for every file in the project. I do not want to have to check out, open, change encoding, save and check-in every file, is there a faster way?
VS2008 + TFS 2008
I am writing code for upload image file and save it into disc ,,, during this and before save it to disc I want to resize the image into specified width and Heigh. i am trying to use this code
[Code]....
but I dont have Neodynamic.WebControls.ImageDraw.dll?
is there a way to store blobs / rich text memos as rtf programmatically on server hard disc instead of the database ?
Update (1)
i want to write in a memo field and store it using identifiers like sessions and time stamps for example writing a memo with the session "subject" and session "dateANDtime" to be stored as "mysubject-12/12/2010-11:56pm.rtf"
how to retrieve the file. can i build hyperlink programmatically?
I have an application that uses resource files to display items in multiple languages. My app uses quote a lot of javascript and the alerts need to display in the local language. To do this, I have created an http handler which will read the keys and values of the culture-specific resource file and write them to a JSON array which is then embedded in the page in a script tag, the messages can then be accesses using, for exmaple:
Message.Error (en-GB = "Error", fr-FR = "Erreur")
The messages http handler works great in development, however when I run the application on a test server, I get the error: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Resources.Alerts.resources" was correctly embedded or linked into assembly "App_GlobalResources.b0n9j90e" at compile time, or that all the satellite assemblies required are loadable and fully signed. The code that I use to acccess the resource file is:
ResourceManager manager = Resources.Alerts.ResourceManager;
ResourceSet resourceSet= Resources.Alerts.ResourceManager.GetResourceSet(Thread.CurrentThread.CurrentCulture, true, true);
Where Resources.Alerts is the type that contains my multi-lingual definitions. The build action for the Alerts.resx file is set to "Embedded Resource". Any ideas why this works locally but not on my test server, am I missing something?
I have a .dat file which I was given to use for a test application. I would like to distribute this file with my library. How can I do this without needing to tell them copy this here to this folder etc.
View 3 RepliesI have many mails send, and keep on increasing all the times based on few actions in my site. So if I have several mails to send by only one email id it will take long time to send all of them and also that
email id will have lot of load. So I want to distribute those mails to 5 diff ids so that load of one email id will be distribute
All this I want to do using web service, so that I can send mails asynchronously.
Using ASP.NET 3.5 /C# / VS 2008.
I have written some web services that I want to make available to others by subscription. The subscribers need to use the service from a specific domain / IP address and also authenticate with a user Id and password.
What exactly should I distribute to the subscriber so they can use the services, while exposing the least about my code?How can authenticate a consumer of services without always passing an Id / password for each service?
The majority of files in the Temporary ASP.NET File folder for a given application get deleted by ASP.NET following compilation -- .DLL and .PDB files amongst others remain.
Our compiler produces proprietary debug information files which are amongst those that get deleted.
Marking the files read-only prevents this but are there other options available?
I have a Web service currently in an ASMX file. I want to move this code into its own class library project which generates a DLL. I want to be able to drop this DLL into any Web application and have it work. However, without an ASMX file, I have no URL endpoint. How do I get around this? Essentially, I want to run a Web service without having to distribute an ASMX. I just want to distribute a DLL. Can I map the endpoint for the Web service in the web.config, or something? (I think that perhaps WCF might do this, but one look at the config for that, and it feels like the cure is worse than the disease...)
View 3 RepliesHow to create MSI Files or setup files programmatically using MSBuild in VS 2008
View 1 RepliesIm using vb,net sql2005, ajax, .net3.5 I need some advice, ive developed an application that allows us to send real time alerts to users via audiences (each user belongs to one of 15-20 audiences), approx 1200 online at any one time. We create the alert, which is stored in SQL table, User logs in, and every 3 minutes from this point we run an sql query getting all alerts applicable to user (Using ajax timer) As you can imagine this could be very very resource heavy, so my question is, is there a way i can get the application to run the sql queries, for each of the possible audiences and maybe store this inside an xml file and then query the XML file which? This would effectivelly mean just 1 user (the application) querying the data with 15 queries and then all users getting the data from an XML file.
View 4 Replies