C# - Creating An International Website?
Jan 4, 2011
The question might sound weird, but I am planning to create a asp.net website, which when fully done, will ideally cater to all countries.I am currently in the architecture phase.. and is there anything that I should keep in might when doing this?
like,saving all datetime fields in utc
using user's timezone to display all time related data
all labels in the website to be localizable
is there anything else?
View 4 Replies
Similar Messages:
Oct 18, 2010
I want to validate zip codes that belongs to most of country like USA,UK,Australia,India etc.....
View 3 Replies
Dec 14, 2010
I am using a dropdownlist in my application to choose from the international telephone country codes. Since I didn't find anything I wrote a script which fetched the data from a telecommunications site and formatted it as ListItems. In case anyone else is looking for the same information you can find it here:
http://banani.de/?p=19
View 4 Replies
Feb 15, 2011
I am currently using regular expression for VISA card validation from nopCommerce to validate Visa cards just before sending them to the payment processor. The problem is that it returns a false-positive with international credit cards; it returns "invalid number" for a valid international VISA card number.
Is there any way I can validate international credit cards? I would like to do some pre-validation before sending it to the payment processor, and my guess is that nopCommerce only works with US-based credit cards.
View 2 Replies
Feb 25, 2010
I am looking for the best way to capture and validate US & international personal data. I have to use ASP.NET 2.0 (vb.net) and no 3rd party web services. This are all client restrictions.
The main point of this is I have to toss their data to FedEx for a shipping quote. I think FedEx has a address checker but that web service was not approved in the scope of the project and its too late to get it added.
My current solution is to just let the field be required and free form then before I save their profile check to see if FedEx will return a quote. If it fails then I will ask them to recheck their profile or contact the admin.
View 1 Replies
Jul 5, 2010
My new assignment at work is to create a second version of our existing web application. Currently, our application supports only full time brokers, but now we our launching a second site specifically for part time brokers.
The new site will be almost identical to our existing site with the following exceptions:
It will have it's own branding. A couple of the user controls used for displaying information will be different (but none of the pages will be different). Our existing users should not have access to the new site and vice versa. It needs to be easy to test both versions of the website from within Visual Studio easily. We want to reuse as much our existing code as possible. I have 2 weeks to do this. I'm hoping that this is a common scenario and someone out there has some advice for how to accomplish this.
View 4 Replies
Jan 6, 2010
I want to create a page that can read extended characters in the QueryString. While this normally is not a problem, there is one case where I don't manage: when the QueryString is manually entered (or even pasted).
Here is a simple test-case:
[Code]....
This works fine both when clicking the hyperlink or submitting the form. However, when you enter the special characters manually in the URL, or in some browsers even when you just highlight the URL bar and click Enter to open the page, the characters will be mangled. (You may need to empty your cache or perform a forced refresh to see these results.
In Internet Explorer 8:
Clicking the hyperlink shows the characters unencoded in the URL bar. Submitting the form shows the characters double-byte encoded (for example, the first character "å" (small letter a with ring above, unicode position 0xA5) is encoded as %C3%A5 instead of just as %A5. In both cases, the output shows the correct characters.After clicking the hyperlink (which creates an URL with readable characters), clicking the URL bar to highlight the URL and pressing Enter to open the page, shows square boxes instead of the characters as output. Note that you may have force a reload of the page to see this. The same happens when you enter characters manually in the URL bar.Highlighting the URL bar and submitting the double-byte encoded URL (as it is created by the form) shows the output as it should.Manually entering single-byte encoded characters ("%A5%B8%A6") will again show boxes instead of characters.
View 3 Replies
Mar 2, 2010
I am tasked with providing a membership form that requires users to given their postal addresses. The form needs to be very friendly to maximize data accuracy. So I am required to take the user's country and their zip code and from that pre-populate the town field. Moreover, this must be done in the official language of the country chosen e.g.Japan/Japanese. Since I don't really believe this is yet
possible, my starting point will be an English version of this.
Does anyone know of a database/web service that can provide*international* address information based on country and zip/postal code?
View 2 Replies
Jan 31, 2011
I have a webform (for posting ads) that has an AJAX HTML Editor (for ad description) and AJAX fileupload control to upload & display some images. If I don't upload any images (no postback is done) then the html editor will display the international characters correctly and the ad is then stored correctly.
As soon as I upload an image for display (and postback is automatically done), then the html editor will replace all the international characters with unrecognized characters. And the ad will be stored with those incorrect characters.
Is there any way I can avoid this? I'm still not exactly sure why the html editor automatically replaces all my characters when postback is done.Or is there another html editor that manages this better?
View 1 Replies
Sep 16, 2010
I'm working on a Web project using Asp.Net MVC, which I'll have to deploy to a farm environment.
I've read a lot of articles and I'm thinking on disabling completely the SessionState, I think this would make a more robust application, and will save me a couple of headaches (Everything I've read tells me that handling sessions on a farm isn't trivial).
There are some things that I still don't have totally clear with this approach though, the main one being the authentication/authorization process. Basically I'm not sure of how (if?) I can handle user sessions if there's no SessionState enabled on the server.
If a user logs into the web site and then tries to access another page, how can I know that the user is already logged in?
I know using cookies is insecure, I thought of a mix of cookies with the session Id stored in the DB, but I suppose that if I disable SessionState I won't have access to the session id either.
View 3 Replies
Feb 6, 2011
Why does an assembly get created when I am building a web site? I mean a web site and not a web application.
View 1 Replies
Apr 12, 2010
I'd like to update my website to make it subscription based. It's a ASP.NET Web forms project. I am looking for the following functionality:
Ability to have users sign up for
different plans (Gold, Premium etc)
Ability to have users upgrade /
downgrade to and from plans
Ability to hook this up to a Payment
processor
Ability to have a credit based
system (User buys x credits for $y)
as an alternative to plans in (1)
Most of this functionality (if not all) is supported by a large number of websites which makes me think I can leverage on an existing framework instead of re-inventing the wheel.
View 3 Replies
Mar 31, 2011
I have created website in Visual Studio using asp.net C#, and host the website in IIS.
Now i want when i right click the website in IIS and select browse, page will get executed, but this is not happening with my case, when i browse the website it shows all the content of website which i created in Visual studio, as shown below
To parent directory
3/29/2011 4:55 AM <dir> App_Data
3/29/2011 4:55 AM <dir> bin
3/29/2011 4:55 AM 528 pageName.aspx
3/29/2011 4:55 AM 1234 pageName.aspx.cs
3/29/2011 4:55 AM 1144 pageName.aspx.designer.cs
3/29/2011 4:55 AM 4393 pageName.csproj
3/29/2011 4:55 AM 1288 pageName.aspx.user
3/29/2011 4:55 AM <dir> obj
3/29/2011 4:55 AM <dir> properties
3/29/2011 4:55 AM 7469 web.config
when i click on 3/29/2011 4:55 AM 528 pageName.aspx, page will get executed.
But what i wanted , when i browse the website , this page "3/29/2011 4:55 AM 528 pageName.aspx" will get executed automatically, i do not suppose to click on 3/29/2011 4:55 AM 528 pageName.aspx page manually
View 3 Replies
Jan 25, 2011
I have a question concerning website structure. I have a website which will be an intranet site. On this site I will have a main page that has links to different apps that will reside in this site. I want to separate the apps in their own folders.My question is do I just create a folder for each one or do I create a new webpage within the main webpage for each one? The reason I am asking is I use three layer model and my object data classes and db classes need to reside in App_Code folder. Do I put all these from every app in the one folder(on the main page) or if I create a site within a site can each have it's own App_Code folder. Also if I create the site within a site will I be able to redirect to different pages just by relative URLS(../cashmanagement) and everything work OK.I am pretty new to ASP and this is my first site with mutiple programs.
View 3 Replies
Jun 12, 2010
I'am trying to follow an ASP.NET with AJAX Training. At certain moment, they deploy an AJAX-Enabled Web Site. but for me I can't found this option (I'm using Visual Studio 2008).
Even if I installed the Ajax Control Toolkit it still not working for me !!
View 2 Replies
Dec 20, 2010
creating a fantasy football website and i needed some help on creating it, i am having trouble creating a login for the website, can anyone help? i would be most greatful. thank you for your time reading.
View 2 Replies
Sep 3, 2013
I've done a lot of research regarding sending and receiving SMS, but all of the examples are for Windows Form. I need it to be for Web Apps. I know that i would need to use AT Commands to send and receive SMS. But I don't get how is it being used.
View 1 Replies
Nov 16, 2010
I currently trying to convert a ASP.NET MVC2 application to ASP.NET MVC3 razor. I have a lot custom Html helper methods, which render html output, like the one below, which renders a button with some markup :
StringBuilder sb = new StringBuilder("<input type='submit' id='") .Append(buttonId) .Append("' name='" ) .Append(buttonId) .Append("' value='") .Append(buttonValue) .AppendLine("' class='myclass1 myclass2' />");return MvcHtmlString.Create(sb.ToString());
View 5 Replies
Mar 25, 2010
I need to create a audio / video library website. Users should be able to browse / view the available video files in a player. Please give me some reference links / projects and also let me know the file format in which the streaming occurs fast.
View 5 Replies
Feb 13, 2011
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.
View 4 Replies
Jun 24, 2010
I am planning to develop around 4 product catalogue websites. The functionality of all the websites would be same. however the design, images and css would be different.
All the 4 websites will use the same admin panel, forums and database(MS Access) also.
How should I create such a system.
I dont understand what kind of folder structure should I create.
I would like to create following kind of folder structure.
(Root Folder)Admin Website ----> Website 1 (subfolder)
----> Website 2 (subfolder)
----> Website 3 (subfolder)
----> Website 4 (subfolder)
Root folder will have the database and all the common files.
Unfortunately, when I tried to create such structure, Dot Net Didnt allow me to create one website inside another
what kind of system should I use for maximum reusability.
I am a small time freelancer and cannot afford to build seperate websites for each of my client.
View 4 Replies
Jan 19, 2010
VWD 2008 Express. Visual Basic.
I have posed this question recently in a different form, but the answers I got led me nowhere. This is what I want to do:
Have a web site that requires users to login.
Have the authentication process be done by ASP.NET (rather than Windows).
I have had many links to voluminous articles in MSN that simply did not work. Is there not a simple (wizard-like) way to start a web site from scratch and establish the objective of having users login to the site? I have tried creating a blank ASP.NET Web Site and using the Website>ASP.Net Configuration tool. But as soon as I go to the Security tab, rather than getting the wizard, I get the error:
There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.
The following message may help in diagnosing the problem: The database filename can not contain the following 3 characters: [ (open square brace), ] (close square brace) and ' (single quote)
Does anyone know some SIMPLE steps to setup a new web site with ASP.NET authentication (forms authentication)?
View 9 Replies
Oct 6, 2010
I have created a database in Access 2007 for a university. Now, a new functionallity is required. What I need to do is a search function where students can search the database online. Now, they can only search using a front-end which is read-only, but they need to use a computer with Microsoft Access (or Runtime) and they need to be connected to the back-end which is located on a server.
make the database to work online? I am a novice to web programming. Which is the easiest way and how do I start?
The database has fields with Attachments. The students can search the database and open Attachments connected to the found posts, this part needs to be online. The personnel can edit and add data using a more complex front-end. This does not need to be online, they can still use Access.
View 2 Replies
Mar 2, 2010
Environment: W2K8R2 x64 +SPn..., Office 2007 +SPn..., Visual Studio 2008 + SP1+ SPn..., SqlExpress2005 +SPn..., SQL Std 2008 +SPn...
2 Problems...
1) No matter how I try Default.aspx never shows up as the StartPage even though I've told it to, the Login.aspx Page shows up first, so the rest of the walkthrough seems strange....
2) I'm a dummy when it comes to SMTP so I can not seem to get the SMTP to send a message to the User supplied e-mail address....
I want to use this methodology for many Web-Sites I have planned, but if it doesn't work then perhaps not....
View 1 Replies
Sep 5, 2010
In the past I used Front Page 2002 to create web sites, I am now working with Expression Web 3 for the first time. I'm creating a DWT HTML format web site. My client wants the site to be for 'members' only. Can I incorpoirate ASP.NET into my site so I can insert login forms needed? My ISP supports ASP.NET.
View 2 Replies