Put Version Of The Website?
Mar 29, 2011I am running an asp.net website.which is working perfect.
now my boss is asking me to put version of the website.On what scenario i can do this part.
I am running an asp.net website.which is working perfect.
now my boss is asking me to put version of the website.On what scenario i can do this part.
Usually in an ASP.NET Web Application I would write - My.Application.Info.ProductName or My.Application.Info.Version, but I'm looking at an older ASP.NET Web Site and it doesn't have the Application option.
Does anyone know the equivalents?
In IIS i have a website Web1 and Web2 .Web1 is working fine.in web 2 i tried redirect to URL option.but it is not working now my reqirement is
1.If i type www.web2.com then the web1.com should come and in the browser address should be web2.com
2.if i type www.web1.com ,then the address should be web2.com and web1 should come.
i have a web created on asp
And i want to make it mobile phone web, such that user can use it through his / her cell phone. I don't have any knowledge about XML And also i don't have knowledge of .NET. How can I do this?
Is there a way to generate offline version of the whole Website?
All my pages are in ASPX and uploaded onto the server. When I run a demo of my site, sometimes there are no Internet availability. So it would be great to actually have the site offline but not running Visual Studio in order to show the site.
I have source-version of project and i need to deploy it on IIS. General project it properly deploy using VS2008, but issue is, if new revision is created then i need to point new source to deploy web-site. In this case i need to remove created virtual dir for previous version. Is this possible to toggle virtual directory between two sources. I think one solution is to change virtual directory path to new one.
View 3 RepliesI'm about to begin creating a mobile version of our company's website, and I have some questions. I've spent many hours reading and researching online, but I can't find some of the answer I need.
1. How can I test a mobile website locally? Are there emulators I can download? Can I plug a phone into my PC and test from the device? I'd like to see how the website looks on the device locally so I can make changes accordingly.
2. With the different screens and resolutions on mobile devices, what is the best width to use for the page layout? Is there a set width of pixels that is a standard to follow, or should it be set at 100%?
3. What is the best way to handle mobile browser detection? So far I've found that I should add code to the Page_Load event of the Master page of our website that checks Request.Browser.IsMobileDevice and redirects to the mobile site if this returns true. Is this the best way?
creating a mobile version of the website I have created in WebMatrix. I have created the website and the email form and the data input forms and all seems to work ok with the SQL Server Compact 4 database, but I now want to create a version to run on my smartphone (it's a htc hd2 running windows mobile 6.5.3, though I think I may have to produce it to run on windows mobile 7 -feel free to comment).
There are some good tutorials out there for WebMatrix generally but I have yet to find anything covering the scenario above.
The other query relates to deploying the WebMatrix site. I know there is webhosting offered on WebMatrix, but I can't find a simple guide to what spec to be looking for in any package offering webhosting. (poor student looking for cheapest offer for trialling practise sites) I think I have come to the conclusion that if they offer Microsoft ASP.NET 4 then that should be ok for the Razor syntax and cope with the cshtml, and that at the basic level I am working at I don't need an SQL database as part of the hosting package as the compact travels as a file with the rest of the site.
Pretend i have an existing web-site, e.g.:[URL]i now want to expose a mobile version of this web-site:
m.stackoverflow.com
IIS, with its host-header name resolution, would normally require two web-sites to be created:
www.stackoverflow.com
m.stackoverflow.com
Except now i have two web-sites in IIS. This means i have to duplicate code/files between them. i don't need to (nor do i want to) duplicate all the "model" and "controller" code between two web-sites. i would much rather have one web-site that exposes a mobile version.
i could have the default page in m.stackoverflow.com simply perform a redirect to a mobile landing page on the "real" web-site:
m.stackoverflow.comdefault.asp:
<% Response.Redirect "www.stackoverflow.com/mobile" %>
Then the client will end up at (for example) www.stackoverflow.com/mobile/default.aspx.
This isn't what i want. i want it to appear to the browser that they are visiting m.stackoverflow.com.
So what i could do in IIS is have two host-header names for one IIS web-site:
stackoverflow.com
m.stackoverflow.com
and inspect the http-request HOST header: [URL]
Host: stackoverflow.com
[Code]....
I have googled this topic and found lots of solutions like
[URL] ....
[URL] ....
But still I am confused how to start. I have made some asp.net websites in which i was applying JQuery, Ajax, webservices this technology. Now i want to make that website in a lighter mobile version(windows phone, android phone, tablet, iphone, other mobile device).
i have developed a mobile version of a website which using ajax and displays at 100% width via css.this displays and works fine on the HTC phones, i have a few issues below, i have read a few post saying you can preset the phones browser settings do you know how i can fix the problems below?iphone - my css width is 100% the iphone is scaling the site to a very small versionblackberry - ajax is not working
View 1 RepliesTwo websites that are being developed by me is online in my office network. Our IT department has updated Internet Explorer and the view my websites is completely disturbed. Now we have Internet Explorer 8.0.6001.18702 In most of my pages the setting is that from top to bottom, in top there is a panel holding dropdown, textboxes and just under this panel there is another panel with gridview. When the pages load the first panel with the search controls are ok.
When i supplied search parameters then gridview resulted overlaping the above panel and it scrolls behind the above panel. When there is one record populates to gridview the whole gridview would not be seen but the count label shows one record.
Are the Crystal Reports objects within Visual Studio (I'm using 2005) the full version or is it a trial version that is missing features?
View 1 RepliesWe have an application that is already deployed in the production environment. And currently it is using Dundas evaluation version. We tried updating it to the licensed version by simply pasting the dll file. but we got the error message as "The file has not been pre-compiled and cannot be requested".
View 1 RepliesI'm try to get my site to detect what browser someone is using to ensure they're using one that is compliant with our site. Everything works, except Firefox seems to post the wrong version in the Request.Browser variables.I'm on Firefox 3.6.10, but Request.Browser shows Mozilla 1.9.2.10. It's correct in the HTTP_USER_AGENT string:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 YFF35 Firefox/3.6.10 ( .NET CLR 3.5.30729)
Is there a way to detect it better without having to parse through the HTTP_USER_AGENT string?
Is there any limit on the size/numbers in the version number of the FormsAuthenticationTicket.
I tried to create an ASP.NET cookie using forms authentication, with a large version number(ex: 1234567 need this number for identification purposes). But when I decrypt the cookie I get 135 as the version number.
Initially the old forms authentication cookie was removed, in order to add new information.
Response.Cookies.Remove(FormsAuthentication.FormsCookieName);
Following is the code I used to create the FormsAuthentication cookie.
FormsAuthenticationTicket newAuthTicket = new FormsAuthenticationTicket(1234567, un, DateTime.Now, DateTime.Now.AddHours(5F), false, user_data);
HttpCookie newauthCookie = new HttpCookie(FormsAuthentication.FormsCookieName, FormsAuthentication.Encrypt(newAuthTicket));
Response.Cookies.Add(newauthCookie);
After retrieving the cookie, the version number I got was 135. This number varies with different version numbers.
string cookieName = FormsAuthentication.FormsCookieName;
HttpCookie authCookie = Context.Request.Cookies[cookieName];
if (authCookie == null)
{
return;
}
FormsAuthenticationTicket authTkt = null;
authTkt = FormsAuthentication.Decrypt(authCookie.Value);
if (authTkt == null)
{
return;
}
int versionID = authTkt.Version;
Can someone let me know if it's a bad idea to use such big version numbers, or am I missing something in this.
I have Visual Studio 2008 installed on this workstation with SQL 2000, 2005 Express, 2008 Express and I think 2008 R2 (not sure if that is a version itselve or not)
I will call that workstation HOME
I created some tables in SQLEXPRESS through VS2008.
I worked on this project on another workstation that I just installed VS2008 annd SQLEXPRESS 2008 and I know that was R2
Installed Visual Studio 2010 trial edition between the thiem I made the tables on HOME and tonight for the first time since that install
I am now getting the "cannot be opened becuase it is version Version 661. This Server supports version 655..."
What to do now?
I can opened SQLExpress 2008 management studio and it is running.
So is my SQL 2000. The problem seems to be that after the VS2010 install neither VS2008 or VS2010 can connect to the SQLExpress 2008
What do I do now?
I can't remove sql 2000 because it is tied to several 3+ gig databases that will not work in Express.
i am working in webapplication in asp.net using c#.I have a problem that currently i am using ajaxcontroltoolkit version 3.0.20820.0 but in this toolkit i don't have Editor Ajax control so i want to upgrade it with new version ajaxcontroltoolkit version 3.5.40412.2
When i upgrade it then my old ajax control is not working like validatorcalloutextender and requiredfieldvalidator etc.
so please tell me how can i upgrade ajaxcontroltoolkit version from 3.0.20820.0 to version 3.5.40412.2
i also use in web.config file but not successfull.
I have a solution I'm working on in VS2010 Professional, using ASP.NET 4.0 with the AJAX Toolkit.This has been working fine, but when I started it up today, I got the runtime exception shown above. This exception occurs on any page with a control from the toolkit.Sometimes when I load a page, I get an exception "Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, ublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified." If I then reload the page (without making any changes), I then get the exception shown in the subject line.I tried dragging an AJAX Toolkit control from the toolbox onto a page, and then deleting it, and that worked - once. The next time I tried the page (or any other), I got the exception again. Dragging a control out didn't help this time.
View 5 Replies1 new website attach with existing website..where attached website is behave as pluggable. and used anywhere in any website?
View 7 RepliesI've got an external site that's built in SharePoint 2007. the user of the site need to have an option to view the full site when accessed from a mobile device. I am thinking of just creating a button control to do this. The question is, what would be the best solution to do this?
View 1 RepliesI am currently running an ASP.NET 2.0 application using IIS 6.0. I plan to upgrade to either 3.5 or 4.0 of .NET.
View 2 RepliesI am confused between the version used for ASP.Net and C#. So can some one use ASP.Net 2.0 but still use C# 2.0? Also should there be a relation between the two?
View 4 RepliesWhich IIS Lowest Version Can be Use For Creating WCF web Services. and Which IIS Version is most suitable for working in WCF
View 2 RepliesI'm new to VB code but i know a bit of php. How would I get the same effect as the $_GET function (PHP) in VB.Encase your wondering I want the VB version of the $_GET function to be used like this
Code: