How To Design A WCF Service Which Can Support 10,000 Simultaneous Hits

Mar 28, 2011

I have to create a WCF service which can support 10,000 users simultaneous hits.

The job of the WCF service is to fetch a cached up XML object (we are using Enterprise Lib caching) and return it to the caller.

This WCF service will have to be publicly exposed. So I was thinking that we may have to use basicHttpBinding... I don't know, I may be wrong.

View 2 Replies


Similar Messages:

Css - Design Webpage View Which Support Multi Resolution?

Nov 26, 2010

I have created my webpage in asp.net in 1024*768 resolution, my problem was that when i change my monitor resolution then the controls in my webpage will be displayed in unmanaged manner. How to arrange items in my webpage which support multiple resolution. Whatever the resolution of my monitor the controls in my webpage will display as it is as managed in 1024*768 reolution.

View 1 Replies

C# - Software Design & Web Service Design

Dec 30, 2010

I'm about to design my Web service API, most of the functions of my API is basically very simular to my web application. Now the question is, should I create 1 single method and reuse them for both the web application and the web service api? (This seems to be the logical solution, however its very complicated; it's much easier to duplicate the method used by the web application, and keep both separate, ie one method for the web application and one method for the web service.)

1) REUSE: one main method and reuse them for both web application and web service application (I like this but it's complicated)

WebAppMethodX --uses-->
COMMONFUNCTIONMETHOD_X
APIMethodX ---uses---->
COMMONFUNCTIONMETHOD_X
ie Commonfunctionmethod_x contains reusable set of common features
PRO: less code, less maintenance, less bugs.
CON: very complicated

2) DUPLICATE: two methods, one method for the web application and one method for the web service.

WebAppMethodX
APIMethodX
PRO: simple
CON: duplication = more code, more maintenance, more bugs!

View 4 Replies

WCF / ASMX :: Web Service Process In Parallel Support?

Mar 14, 2011

I am seeking your expertise in ASP.Net with regards to multi-thread support of WebService in a scenario , that is If a WebService-Client is making simultaneous calls from the same process, the requests will be serialized at the WebServices so that only one-call will execute at any one time , on the contrary, if those calls are sent from different WebService-Clients ( Instances/Processes) , they are processed in-parallel by WebServices.

Have you ever experienced the same with ASP.Net, and what configurations/Settings should be followed, in order for a WebServices to concurrently process simultaneous calls form a single WebClient , when deploying a large number of Web-Clients' instances/processes is impractical in a project-context.

View 1 Replies

WCF / ASMX :: Location Of Web Service Support DLLs?

Aug 5, 2010

I have several ASP.NET 1.1 web services that make use of several common DLLs. Rather than having each web service contain its own copy of these DLLs, I would like to have these DLLs centrally located so that I don't have to remember to update each web service with new copies of the DLLs if they happen to change. For example, if web services WSA and WSB each use XYZ.DLL does XYZ.DLL need to be in both WSA and WSB or can WSA and WSB be told that XYZ.DLL is is some other folder like C:Common? Is this at all possible or do I have to have a copy of the DLLs in each web service folder?

View 1 Replies

C# - IIS 7.5 Configuring Website To Support Http - Net.pipe To Invoke WCF Service?

Nov 11, 2010

In IIS 7.5 i configured my asp.net website for "http,net.pipe" in "Enable protocols".

Note:

net.pipe configuration is done to call another module within the website (SOA). Every thing worked fine with simple asp.net & net.pipe service invocation calling other module. But When i try to call RIA service from silverlight 4 i get the following error

The provided URI scheme 'net.pipe' is invalid; expected 'http'.
Parameter name: context.ListenUriBaseAddress

How can i configure my website to work in http & net.pipe configuration ?

View 1 Replies

Design Pattern For Adding A Web Service In MVC3

Mar 4, 2011

Firstly - I'm not asking this question How to include a web service in MVC3? I know where the button is :-)

I'm trying to find an example of best practices of how to use the new DI / Common Service Locator framework in order to make web service calls (and code dependent on web service calls) testable. I've no experience of using NInject or the like - is that the way to go?

View 2 Replies

C# - Web Service API Design - Input Validation And Error Response?

Jan 1, 2011

This might be a silly question, how do you usually response to errors? Response with one error at a time or Response with multiple errors at a time, in a list record

Example

Invalid Email Address format
Invalid Phone number format
Invalid Password .etc...
Invalid API credentials

View 2 Replies

WCF / ASMX :: Design A Web Service Layer On Top Of Db For Data Integration?

Dec 22, 2010

We're doing a data integration project between a MS Sql Server database and a Microsoft CRM system (through its web services).

We're trying to build a "service" layer on top of the database. The design of our current solution is to use web services for CRUD, with xml being the format of data.

Views are created to consolidate related tables into one entity, and we query these views, using the "SELECT * FROM someview " + "For XML" to generated xml that will be returned from our web services.

For update we're trying to use the same approach - using SQL XML to map updates views, we have "instead of" triggers defined on top of these views, and in these "instead of" triggers we update the underlying tables.

The views/triggers are generated by tools so don't be too concerned with coding efficiency here...

what do you think if we use WCF data Provider to publish a enterprise data model (essentially DTOs) ? p.s., we don't have a BL layer for now, it's all in the stored procedures!!!

What's your opinion on this / any better design?

View 4 Replies

C# - Simultaneous Display In Second Text Box?

Aug 13, 2010

I have two text boxes I need a functionality like If I am typing in 1st text box The text should be getting displayed in 2nd text Box with some other font. This is a web Application. And so Text Box doesn't have OnKeyDown event? Do you suggest any way to implement this?Note: I don't want to implement this with Javascript.

View 2 Replies

Prevent Multiple Simultaneous Logins?

Feb 11, 2011

I am trying to prevent multiple simultaneous logins in my web application. I want to signout all/any previous authentications of a user when they login. Such that the current login remains the only one.

How do I go about calling FormsAuthentication.SignOut() for a particular user to invalidate any existing authentications.I have tried searching everywhere but no answers, only theories.

View 2 Replies

Projecting Simultaneous Database Queries

Aug 17, 2010

I'm after some thoughts on how people go about calculating database load for the purposes of capacity planning. I haven't put this on Server Fault because the question is related to measuring just the application rather than defining the infrastructure. In this case, it's someone else's job to worry about that bit! I'm aware there are a huge number of variables here but I'm interested in how others go about getting a sense of rough order of magnitude. This is simply a costing exercise early in a project lifecycle before any specific design has been created so not a lot of info to go on at this stage.

The question I've had put forward from the infrastructure folks is "how many simultaneous users". Let's not debate the rationale of seeking only this one figure; it's just what's been asked for in this case! This is a web front end, SQL Server backend with a fairly fixed, easily quantifiable audience. To nail this down to actual simultaneous requests in a very rough fashion, the way I see it, it comes down to increasingly granular units of measurement:

Total audience
Simultaneous sessions
Simultaneous requests
Simultaneous DB queries

This doesn't account for factors such as web app caching, partial page requests, record volume etc and there's some creative license needed to define frequency of requests per user and number of DB hits and execution time but it seems like a reasonable starting point. I'm also conscious of the need to scale for peak load but that's something else that can be plugged into the simultaneous sessions if required. This is admittedly very basic and I'm sure there's more comprehensive guidance out there. If anyone can share their approach to this exercise or point me towards other resources that might make the process a little less ad hoc

View 1 Replies

Security :: Controlling Number Of Simultaneous Web Users?

Nov 22, 2010

I have an asp.net 3.5 web application for which the client has requested that the security model allows (a licensing model) restricting the number of simultaneous users logged onto the website. I am not sure how this is achievable - I'm currently controlling membership via the AspNetSqlMembershipProvider.

View 5 Replies

The Model-Repository-Service-Validator-View-ViewModel-Controller Design Pattern

Jan 19, 2010

When I first heard about ASP.NET MVC, I was thinking that would mean applications with three parts: model, view, and controller.

Then I read NerdDinner and learned the ways of repositories and view-models. Next, I read this tutorial and soon became sold on the virtues of a service layer. Finally, I read the Fluent Validation documentation, and I'll be darned if I didn't end up writing a bunch of validators.

Tonight, I took a step back and thought about what had become of my project. It seems to have become the victim of the design pattern equivalent of "feature creep". Somehow I'd gone from Model-View-Controller to Model-Repository-Service-Validator-View-ViewModel-Controller. You want loosely coupled and DRY? We got your loosely coupled and DRY right here! But I'm wondering if this could be a case of too much of a good thing.

Am I right to be concerned? Or is this actually not as crazy as it sounds? On one hand, it seems crazy to have so many layers. On the other hand, every layer has a clearly defined purpose that makes sense to me. Have your MVC applications turned into MRSVVVMC apps too? If not, what do they look like? Where's that right balance?

View 2 Replies

Testing ASPX Page Performance On Simultaneous Requests

Oct 26, 2010

I have to test my asp.net web application for performance when there are simultaneous requests for the web site in my developer machine before deploy in production. How can I achieve this using Visual Studio?.(without using third party tools preferably Visual studio 2010 professional edition

View 3 Replies

Request.ServerVariables Not Updated When Simultaneous Login From 2 Machines

Dec 7, 2010

I'm using IIS 7.0 on WS2008. I've implemented a simple login page that redirects to another simple page showing the Request.ServerVariables key/values. I'm using the built-in SQL membership provider. The website is on a DEV machine and there are no users on it.

When I login at the same time with 2 different users from 2 different locations (2 different public addresses) then one of the Request.ServerVariables page is the same as the other. That includes the client IP address which is then completely wrong. The authentication as well as the other cookies are wrong as well.

I checked the IIS log and it shows the correct client address as well as the correct login name. If I then reload the wrong page I get the correct data. Is there some concurrency issue in ASP.NET? I disabled the session and caching but I still get the same behaviour.

View 1 Replies

.net - A Way To Keep Track Of Javascript Hits?

Jun 2, 2010

I am populating a table based on a javascript function.I want to limit the data entered to 2, afterwhich I hide the table.Is there a way to track how many hits the javascript code gets hit?

[code]...

View 2 Replies

C# - Cache Page But Count Hits?

Aug 22, 2010

I have an aspx page which counts every visit and creates a cookie. But if I use OutputCache page counts only the first visitor who requested the page. How can I prevent this bug?

Page directive:

<%@ OutputCache Duration="1200" VaryByParam="mode;page;sid;tid" %>

Codebehind:

protected void Page_Load(object sender, EventArgs e)
{
//Load single post data
#region Hit Counter
//hit counter lasts during session
if (Session["LastHit" + postId] == null)
{
cmmnd.CommandText = "UPDATE Posts SET Hits=Hits+1 WHERE PostID=@PostID;";
cmmnd.ExecuteNonQuery();
Session["LastHit" + postId] = 1;
}
#endregion
}

View 2 Replies

Finding The Website Url When It Hits Landing Page?

Apr 16, 2010

i want to find out the websites that are people are coming from when they come on my website. so lets say someone comes from [URL] or [URL] or someone came through email or somewhere else. how can i do this?

View 2 Replies

JavaScript - Display Message When Registration Hits 0?

Mar 2, 2011

Current Background: I have a ASP.NET VB form connected to a database. In the database, there is a field called TourCount. This count decrimates by 1 everytime a user submits a form.

Goal: When the TourCount reaches 0, all registrations must close. However, at the moment, TourCount continues to decrimate into negative numbers. When TourCount reaches 0, I would like a message to appear above the form saying "Registration Closed".

Current Attempt: I have tried a few things, but I'm not sure where it's going. I don't receive a config error message, but it's never functioning correctly either. I'm not sure where or what type of script I should be using. My logic says, when TourCount is less than or equal to zero, display a text string via the id called "Message".

[Code]....

View 1 Replies

How To Do Caching Using Entity Framework And Can Minimize Database Hits

Dec 15, 2010

I am using ADO.NET Entity Framework 3.5 for web service.i want to know how can i caching through it and can minimize database hits?

View 1 Replies

SQL Reporting :: Design Master Page Header And Footer In Reporting Service?

Oct 13, 2010

I would like to design master page header to show report title and date. For Master footer page, I want to show address and page number. Thus, all report no need to design more page header and footer.

View 5 Replies

Web Forms :: Trigger The ValidationSummary Before The User Hits A Button That Causes Validation?

Nov 19, 2010

Is there anyway to trigger the ValidationSummary before the user hits a button that causes validation?I have a bunch of text boxes with Required and Rregex validators attached, as I type in them and tab out they trigger their errors however the summary doesn't show anything until I hit the Submit button. Any way to have the ValidationSummary update itself in the same way as all other validators?

View 5 Replies

Track Hits Using Google Analytics And .NET Web Handler (ASHX) Page?

Jul 15, 2010

We are using Google Analytics for our site, but since it uses client script in HTML output we are unable to track hits to any of our ASP.NET ASHX handler pages.

View 2 Replies

Web Forms :: Count No Of Site Hits Excluding Post Backs?

Nov 24, 2010

How to count no of site hits of a site with out using postbacks i.e we should not count

no of postbacks of a page only single hit should be taken in to account..

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved