There is a website with a master-page, set of css-files,... menus. It is necessary to implement another one that will have same (or at least very similar) look-and-feel. And also it is necessary to have look-and-feel in sync.
I've tried to find for appropriate solution (at least idea, not implementation) in the internet but didn't find anything.
use an additional project (class library) that will contain an implementation of the master-page and all its comnponents (menus, images, css, etc will be stored as resources), this project will be refferenced from all web-sites that need to sare look-and-feel.
I have two urls that are supposed to lead to the same actual folder.
I can't do a redirect because the websites are built so they question the URL and perform accordingly.
So I built two application in the IIS (I tried using a virtual directory for one of them, but I kept crashing on the web.config can not be read). Everything works perfectly except the Application variables which are different between the two addresses. (Specificly I'm counting the number of current users logged on).
We have about 70 sites on our server that use same application (with different Application Pools) and they use for example a shared skin file. So is there a way to load this file to memory and share for all applications? what I mean is to sharing cache in multiple websites to decrease pressure on server.
the account we use to copy/publish websites to our web server is not allowing us access to push websites. I've added this account to the permissions in the links listed in the below link, but i don't have success when trying to push remotely. When the account is in the local admins account, everything works flawlessly, but we are not allowed to have it in there. http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/31be047e-4716-4974-b8a1-be0111b50199 I've googled and searched a lot for this particular error, but am not finding an answer that helps. We get this error, 'Unable to create the Web 'http://edea01/test/planning'. You are not authorized to perform the current operation', and the above link is the scenario that matches mine the most. I don't do develompment work, but am asked to figure out this connection problem.
I am showing thumbnail images in dataList on a page of my website. When i click on any image they open in big size. How i will share(Facebook). that particular big size image. My code is given below:
<script type="text/javascript"> var CurrentPage = 1; function GetImageIndex(obj) { while (obj.parentNode.tagName != "TD") obj = obj.parentNode; var td = obj.parentNode;
This is annoying, because I have to apply this style to every single thumbnail image individually, when there could be any number of them on the screen at any given time. All of the thumbnails are inside a single <div> that groups them together, and I'd like to apply a single style to the <div> that will push the attributes I need down to all of the the <img> elements nested inside, regardless how many thumbnails there are.
I have an ASP.NET MVC application that attempts to read a file in using a filestream and File.OpenRead(). When the path to the file is a share on the same workgroup, and I give access to NETWORK SERVICE for the share, this works perfectly as desired.
However, when the path to the share is a UNC path to a remote share within the LAN, with read permissions open for "Everyone", the "File.OpenRead()" method throws an exception saying "Could not find a part of the path".
In my test cases I'm debugging locally with the ASP.NET MVC app being given a UNC path to the computer that it's actually running on. It's a share on my C drive, being "Shared" with permissions to "Everyone" for read access.
Is there something in IIS that needs to be configured? If I try to impersonate, in this context, the impersonation doesn't matter because NETWORK SERVICE was the user trying to access the files when it worked for a share in the same workgroup.
I'm trying to include script and style references that will not break on deployment, however I can not even get the references to work locally. I have tried using Url.Content() and MVCContrib's <%=Html.ScriptInclude("")%>.
My scripts are in a Scripts folder on the root of the site; my styles are in the usual Content/css/ folder.
I will consolidate several web sites into one. I have a brief design in mind. Top row: banner sencon row (main menu): home, Applications (drop down-accounting, employeement, sports etc), Your Account In 3rd big row, at left side, there will be links (or just menu listed down) In the middle, there will be contents displayed related to top and left menu. for example, If a user selects application->Sports from 2nd row, then there will be links of Tennis, Golf, Volley ball appeared in the left. if the user click 'Golf' then the center page will display contents related to golf. I am not sure it will work with multiple sitemaps or database driven menu structure etc. How can I do that? Is it a good design?
I'm wondering if I should learn everything in C# like what WPF and Win Forms should learn to be excellent web developer or is there specifc C# for the web?
im developing some backends in ASP.NET 2.0 and i have put all the images in Cache, GZIPED my CSS, JS files and everything to speedup the load of each options.
the performance its good and i have no problems with the clients but i want "MORE" fast loads and im looking for some recomendations.
Is important to mention that those websites are using only in intranets so im thinking to implement my next projects using IFRAME for content that way (i think) the options will be loading faster because they not have to load the entire site.
EDIT:
im not using viewstates i wrote HTML (code behing) generated controls and use as less as possible ASP.NET Rich controls, all my static contents are in Static vars (Header, Menu, Footer) but im just looking for speed up a litter more.
After compile my website i compress all the HTML, CSS, JS and use less of those files as possible.
but i was seeying others Backend that loads faster than my and the difference is the IFrame control that they use (i think), we check code, design, etc and we use the same (they use #INCLUDES for static HTML instead STATIC VARS with the HTML)
I have a library that is meant to be used by many websites. The way I am doing it now is in the library's properties, I set the "Post-build event command line" to: copy "$(TargetPath)" "$(SolutionDir)MyWebsitein$(TargetFileName)"
Every time I want a new website to use the shared library, I add a new line like this: copy "$(TargetPath)" "$(SolutionDir)MyWebsite2in$(TargetFileName)"
Is there an easy or better way to do this besides using the GAC?
The user accesses a web page (asp.net web application), makes his selections and applies filters to render the screen. Now I'm looking for a way to share this view with somebody else who also has access to the application.
Although in a simple scenario this can achieved through query strings and sharing the URL, how can this be achieved in a more complicated scenario where a bunch of selections / filters are applied to render a view ?
To start with, I implemented a basic framework. A datastructure will hold key value pairs which represents the controls and the values associated with it. I persist this to a database and the page will be responsible to parse the key-value collection and render itself but I think this may not be practical when there are complex controls like a grid with features such as grouping, filtering etc.
Most importantly, it would be great if the solution does'nt force the aspx to be implemented in a certain way for them to be persisted.
I am still pretty unkskilled with web design and since I am still learning xml/html/asp.net I wanted to pose the following question: I would like to design a site that will need to be graphically well designed and user friendly. Would it be easier to continue learning asp/xml or find a software package that can do most of the hard scripting for me and just have me select and alter; like frontpage or something better?
im very new to ASP.NET and web based applications. I am very interested in building websites though. a friend told me " if you want to build web sites then forget ASP.NET as that is for applications, stick with HTML" .... but HTML is static code and ASP. NET is dynamic and surely better? the oinly one real thing that gets me though is this "if ASP.NET is used to build Web-forms and web based applications then what good is it for building web sites? ... a web based application and web site/ page are 2 different things? so if i want to get into building web sites for me and other people, what should i need to know? HTML, PHP ect?
i want to add a search facility to my website. I have many lengthy html files that should be searched. The question is should i insert the text of the html files in a table of my database and search the database or should i search the html files one by one reading them from the disk. Should the search be database based or should i open each file, read it and search it this way using for example regular expressions. What is the usual and best approach?
i have a website, i want to place the compile code on the production server, now i took the code on the local machine and trying to compile source code on local machine, but whenever i compile the code, in one of my control(ascx.cs) file i am getting error that the control does not exists in current context, i checked everything, Inherits, CodeFile, even in the code behind(.cs) file, everything is perfect, even i get the control id in the intellisense, when i remove the control and again add the same using intellisense, the errors gets removed but after i publish site, the same error comes again
We have two websites which only difference is in the design (different images, styles, layouts..etc) but the web structure of files and cs code is the same so we want to simplify its maintenance...
One idea would be changing the design differences at runtime depending of the origin website, but we dont like much this because performance, abstraction in designing them and url confusion...
Another one is sharing the cs (both aspx inheriting and using the same cs) file but we never have done or seen it done in any website before so we wonder if its a good approach...
I would like to know what I need to create Web sites professionally. I mean, I am a Software Engineering student and I want to build a little "corporation", one that be competitive with the already placed around here.
I got one remote website and two local websites. All the .asp files are the same in 3 websites. In the remote website, there is a file aaa.asp, its url is
http://www.xxx.com/aaa.asp
In the first local website, the url of the same file is http://127.0.0.1/local1/aaa.asp
In the second local website, the url of the same file is http://127.0.0.1/local2/aaa.asp
My question is: In any .asp files (may be in different folders) of any above website, how can I get the url of aaa.asp by use the same code?