Scalable Application With .NET Or Google AppEngine
Sep 28, 2010
I got experience in ASP.NET application development. Now I want to develop my own application that should support huge traffic and it should be scalable. My site publishes news, videos and images.
Having already experienced in ASP.NET, whether it is fine to go with ASP.NET or Google AppEngine is good for building scalable application? To move with Google AppEngine, I need to learn entire concepts from the scratch. whether ASP.NET support will support to process heavy page requests or not.
As an organisation, we use Google Apps. We have the paid version (mapped to our domain) etc...We are developing a web based application to manage orders, and other business functionality.I want to be able to use federated login with our google apps accounts- For example, if a user is logged in to their email (gMail) - they should automatically be logged in to our ASP.net application
If they're not logged in - the log in form should auth. against our google apps account.How can this be done?Is it possible to be able to "get" the user who is currently logged in using this method etc...?
Thinks at a backgammon online multiplayer game with over 100, or even 1000 online users. The game communication is done using Ajax + 3 seconds Comet connection interval + ASP.NET technology. Is this a real scenario ?
Didn't so many Comet open connections block the server resulting in big latency ?
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.
Summary: ASP.Net website with a couple hundred users. Data is exported to Excel files which can be relatively large (~5 MB).
In the pilot phase (just a few users), we are already seeing occasional errors on the server in the exporting method.
Here's the stack trace:
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.IO.MemoryStream.set_Capacity(Int32 value) at System.IO.MemoryStream.EnsureCapacity(Int32 value) at
Even aside from this particular problem, in general exporting to Excel requires the instantiation of huge Excel objects on the server for each request, which I've always assumed to mean disqualifies Excel for "serious" work on a highly-loaded server. Is there any general way to export to Excel in a "light-weight" manner? Would simply streaming the data into a CSV file work for this?
i want to implement an asp.net MVC web application where a user enter the required address in the mvc application and then click on submit button where the related address will be displayed using Google maps inside the MVC application.
i have good knowledge of developing MVC web application but i lake the required knowledge to develop such and integration.
integration of Google Calendars in the website? I need to replace the existing calendar control in the website with the Google calendar. I am trying to merge the events with Google Calendar so that events are posted/ tracked in Google Calendar, and events added to the Google Calendar would be shown in my website. I want some working sample which will provide me some idea to integrate the Google calendar in the website.
I want to find a place to put my Google Analytics code in my ASP.NET web application. I would like to place it somewhere once and not have to copy and paste the code into multiple files. Is there somewhere that I could inject it that I would only have to include it once and all pages would be effected? I am not using MasterPages unfortunately.
I need track Users activities in my Cms Admin section (protected by password).
I would like to know:
If is possible add GA (Google Anlytic) code and use it even if the pages where the code is placed are covered by password.
If such use can create secrity vulnerability of any kind. (If is good or bad practice).
How to retrieve easily the statistics from pages in Admin section if the folder for admin is (example: ADMIN) in GA account. They come up like /admin/mypage.aspx??? Or how???
Generally, I would like your opinion about it and if you are using this approch it in your current web application.
I've implemented a google map with points and stuff that uses an address that the user inputs. When you click a point, the popup bubble appears with the name and address in.Often this name and address is a prominent location, as it's used for meetings and things, such as a university. If you google the address yourself on maps.google.co.uk then you get google's own popup bubble, which often has a photo, information, opening hours, links to directions, reviews, etc. etc.I am wondering if there's a way to use that popup dialog instead of my own, where it is available. I can't see anything in the API to do this.I'm using V2 as we support IE6 in a lot of our users, but I've been told recently I can upgrade to V3 should I need functionality from it.
just want to add the effect of map momentum by the dragging of map as in maps.google.com has. currently on my map where i stop dragging the map stops there but in maps.google.com if you drag a mouse the map will not stop there it will continue the movement in the same direction for a second or few cordinates (i dont know basically), but I want the same thing on my google map. I am using GMap2.
I need to use a map in an application that I develop. In my application I want to use pins that will show infoboxes on the map. Use the zoom in, zoom out functionality and the ability to show several maps on the same page. I won't need to use the search locations or routing directions.Which type of maps should I use? Google or Bing? As I understand, they both have good user interface, but which one is easier to develop with? If I'll use Bing then will it be more Microsoft like, I mean, it will let me use visual studio convenient programming? More or less javascript so it will be a hassle do debug it?
I want to download a file from google drive (like .docx, .xlsx etc.) to a specific location, I am able to do so which are publicly share using WebClient object.
But now I want to download file which private in share but unable to do it.
How to improve my code which should download private file also.
//Parameters //1) Link - google drive link from where to download //2) filename- name of filename- //3) oringinalDocDirectory- path where file has to save
public ActionResult SaveToServer(string Link,string filname,string oringinalDocDirectory) { if (!Directory.Exists(oringinalDocDirectory)) Directory.CreateDirectory(oringinalDocDirectory); var docFinalSavePath = Path.Combine(oringinalDocDirectory, filname); WebClient client = new WebClient(); client.DownloadFile(new Uri(Link.Replace("&export=download","")), docFinalSavePath); return Json(new { status = docFinalSavePath }, "text/html", JsonRequestBehavior.AllowGet); }
Hi, We host a web portal for the recruitment of staffs. The portal had close to sixty thousand (60,000 applicants/day) successfully registered applicants a day and at its peak period during the day the portal was hit with close to ten thousand (10,000 applicants/hour) registrations an hour. The Application process includes a number of functions such as - Mail confirmation - Upload of images - Generation of unique Identification Numbers - Providing information for the completion of the Application Form of various categories - Print out of the Application Form The form also maintains a login profile for each successful applicant and this is seen at the top of the application form when the user is logged in.
ARCHITECTURE - The system was built using ASP.NET and MSSQL was used as a database for the data collected on the same physical server
- ASP.NET membership was the Application Programming Interface (API) used for user authentication and role management due to its flexibility and the ease of use. - The passwords are hashed in the database. - LINQ was used as the adapter for data handling to the database server - Uploaded images was stored in a folder in the file system
HOSTING PLATFORM - 32-bit processor - Rackspace cloud computing - 8Gig RAM - Windows server 2008
ISSUES ENCOUNTERED - At peak period, the portal was overloaded and had a very slow response time - SQL server reporting services ran out of memory when we generated reports due to size of the report.
We want an overhaul of the architecture that would enable more applications to be filled simultaneously without issues i.e. a site that can sustain the load, But I am not sure what to do.
any advice would be great in regards to architecture?