Web Forms :: Get Application To Run SQL Queries And Distribute Information To All

Jul 19, 2010

Im using vb,net sql2005, ajax, .net3.5 I need some advice, ive developed an application that allows us to send real time alerts to users via audiences (each user belongs to one of 15-20 audiences), approx 1200 online at any one time. We create the alert, which is stored in SQL table, User logs in, and every 3 minutes from this point we run an sql query getting all alerts applicable to user (Using ajax timer) As you can imagine this could be very very resource heavy, so my question is, is there a way i can get the application to run the sql queries, for each of the possible audiences and maybe store this inside an xml file and then query the XML file which? This would effectivelly mean just 1 user (the application) querying the data with 15 queries and then all users getting the data from an XML file.

View 4 Replies


Similar Messages:

Forms Data Controls :: Getting Information From Two Queries And Posting Them In A Datalist?

May 26, 2010

I have a Datalist with 6 elements inside (Labels and Hyperlink)This is in the "results.aspx" page. The process in started by the query stings being sent to the this page:...results.aspx?q=(ItemNameSeached)&cid=(City ID number)I have this bound to an SQL Data Source. My problem is that the ITEM_NAME, ITEM_ID (for the More... link), and the ITEM_BUILDING_ID are in one table in my database; The BUILDING_NAME and BUILDING_ADDRESS are in another table.I have an sql query string working to get the information in the items table but I don't know how to get the Building Information which is on another table. I know the sql query to get the building information (SELECT building_Name, building_address FROM buildings WHERE building_id = @ITEM_BUILDING_ID). My problem is that you can't bound two sql data sources and in the buildings query how do I get the value of the ITEM_BUILDING_ID label into the query.

View 4 Replies

ADO.NET :: How To Improve The Application Performance While Writing LINQ Queries

Dec 17, 2010

how to improve the application performance while writing LINQ Queries ?Like the optimization techniques.

View 2 Replies

Distribute .dat File With Library?

Jan 27, 2011

I have a .dat file which I was given to use for a test application. I would like to distribute this file with my library. How can I do this without needing to tell them copy this here to this folder etc.

View 3 Replies

How To Distribute Mail In 5 Different Email Ids

Feb 21, 2011

I have many mails send, and keep on increasing all the times based on few actions in my site. So if I have several mails to send by only one email id it will take long time to send all of them and also that
email id will have lot of load. So I want to distribute those mails to 5 diff ids so that load of one email id will be distribute

All this I want to do using web service, so that I can send mails asynchronously.

View 3 Replies

WCF / ASMX :: How To Distribute Web Services

Sep 21, 2010

Using ASP.NET 3.5 /C# / VS 2008.

I have written some web services that I want to make available to others by subscription. The subscribers need to use the service from a specific domain / IP address and also authenticate with a user Id and password.

What exactly should I distribute to the subscriber so they can use the services, while exposing the least about my code?How can authenticate a consumer of services without always passing an Id / password for each service?

View 3 Replies

Distribute Web Service As DLL And Specify Endpoint In Web.config?

Dec 28, 2010

I have a Web service currently in an ASMX file. I want to move this code into its own class library project which generates a DLL. I want to be able to drop this DLL into any Web application and have it work. However, without an ASMX file, I have no URL endpoint. How do I get around this? Essentially, I want to run a Web service without having to distribute an ASMX. I just want to distribute a DLL. Can I map the endpoint for the Web service in the web.config, or something? (I think that perhaps WCF might do this, but one look at the config for that, and it feels like the cure is worse than the disease...)

View 3 Replies

Web Forms :: How To Create Web Application To Collect Order Information From Users

Jan 13, 2010

I've made a website online that allows customers to place an order. I would like the information customers input on the website to show once the customer clicks submit to confirm what was entered.

View 2 Replies

Configuration :: Distribute Aspx Files On Disc?

May 21, 2010

I have a collection of aspx files that I need to send to a client on a CD/DVD who may or may not have IIS and the .NET framework installed.

View 1 Replies

Web Forms :: Get Load Information On Application Server In Terms Of Memory Or CPU Usage?

Feb 11, 2010

Is there a way to get load information on Application Server? How much memory or CPU is being used at a given point? I want to either 1. Limit users to use specific functionality of ASP.NET 3.5 application or 2. Deny users from accessing the application saying "Server is busy at the moment"

View 4 Replies

Filepath - View Roundtrip Information In Application?

Apr 30, 2010

I'm playing around with storing application settings in my database, but I think I may have created a situation where superfluous roundtrips are being made. Is there an easy way to view roundtrips made to an MS Access (I know, I know) backend?

I guess while I'm here, I should ask for advice on the best way to handle this project. I'm building an app that generates links based on file names (files are numbered ints, 0-5000). The files are stored on network shares, arranged by name, and the paths change frequently as files are bulk transfered to create space, etc.

Example:

Files 1000 - 2000 go to /path/1000s
Files 2001 - 3000 go to /path/2000s
Files 3001 - 4000 go to /path/3000s

etc

I'm sure by now you can see where I'm going with this. Ultimately, I'm trying to avoid making a roundtrip to get the paths for every single file as they are displayed in a gridview.

I'm open to the notion that I've gone about this all wrong and that my idea might be rubbish. I've toyed around with the notion of just creating a flat file, but if I do that, do I still run into the problem of having that file opened and closed for every file displayed in a gridview?

View 1 Replies

After Facebook Login How To Get User Information Using Javascript SDK In Application

Jun 25, 2010

I have to implement facebook login and also want to get logged in user's information like birthday,firstname, Email address.

I have already done some other stuff like recent activities etc of facebook using javascript SDK of facebook.

i am developing application in ASP.Net (C#).

How can i get user information.

View 1 Replies

C# - How To Store Accounts Access Information's Inside Application

Mar 6, 2011

I need to keep access settings to different web pages inside of my asp.net application. These setting are logins and passwords for those pages. Is it safe enough to keep them in web.config in section?

View 1 Replies

Security :: Login Information From ASP Ticket To Desktop Application

Jan 23, 2010

i have a secure ASP.net application ,login page and all these stuffs, i want to create a windows desktop application for some resones but i want to use the same security of the asp.net , is there anyway to get the login information of the asp.net to login to my windows desktop application?

View 1 Replies

State Management :: Error The State Information Is Invalid For This Page And Might Be Corrupted While Executing Application

May 26, 2010

I am getting this error while executing my Asp.Net application.i am not able to execute application using Visual Studio Interface and when i am trying to execute application from Local IIS. its executing well but when i am trying to click any button for searching etc it is giving this error. The state information is invalid for this page and might be corrupted. The detailed information is

[Code]....

[FormatException: Invalid character in a Base-64 string.] System.Convert.FromBase64String(String s) +0 System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +72 System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4 System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37 System.Web.UI.HiddenFieldPageStatePersister.Load() +113[ViewStateException: Invalid viewstate. Client IP: 127.0.0.1Port: 1307User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5ViewState: /wEPDwULLTIwOTUyMjAzMTgPZBYCZg9kFgICAw9kFgICCw9kFgICAQ9kFhgCAg8QDxYCHgtfIURhdGFCb3VuZGdkDxYFAgECAgIDAgQCBRYFEAUHQ2VudHJhbAUCODBnEAUITm9ydGhlcm4FAjgxZxAFB0Vhc3Rlcm4FAjgyZxAFCFNvdXRoZXJuBQI4M2cQBQdXZXN0ZXJuBQI4NGdkZAIJD2QWAmYPZBYKAgEPEA8WAh8AZ2QPFgUCAQICAgMCBAIFFgUQBQdDZW50cmFsBQI4MGcQBQdFYXN0ZXJuBQI4MmcQBQhOb3J0aGVybgUCODFnEAUIU291dGhlcm4FAjgzZxAFB1dlc3Rlcm4FAjg0ZxYBZmQCBw8QDxYCHwBnZGQWAWZkAgkPD2QPEBYBZhYBFgIeDlBhcmFtZXRlclZhbHVlBQItMRYBZmRkAgsPEA8WAh8AZ2RkFgFmZAINDw9kDxAWAWYWARYCHwEFAi0xFgFmZGQCCg9kFghmDw8WAh4JTWF4TGVuZ3RoZmRkAggPDxYEHgxNYXhpbXVtVmFsdWUFCTUvMjYvMjAxMB4MTWluaW11bVZhbHVlBQk1LzI2LzE5MTBkZAIMDxYQHhlDdWx0dXJlRGVjaW1hbFBsYWNlaG9sZGVyBQEuHgdDdWx0dXJlBQVlbi1VUx4bQ3VsdHVyZVRob3VzYW5kc1BsYWNlaG9sZGVyBQEsHg5DdWx0dXJlRGF0ZUZNVAUDTURZHhZDdWx0dXJlQU1QTVBsYWNlaG9sZGVyBQVBTTtQTR4WQ3VsdHVyZVRpbWVQbGFjZWhvbGRlcgUBOh4WQ3VsdHVyZU...][HttpException (0x80004005): The state information is invalid for this page and might be corrupted.] System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +106 System.Web.UI.ViewStateException.ThrowViewStateError(Exception inner, String persistedState) +14 System.Web.UI.HiddenFieldPageStatePersister.Load() +217 System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +105 System.Web.UI.Page.LoadAllState() +43 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6785 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242 System.Web.UI.Page.ProcessRequest() +80 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.pages__cmtickets_cmtickets_reports_cmtickets_search_aspx.ProcessRequest(HttpContext context) in c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filesapp_mobily_alexmare1eddc658e6f2ba5App_Web_b9acfmsy.14.cs:0 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082

View 3 Replies

ADO.NET :: Automatically Loading Information From A MS SQL DB When Information Is Entered

Jan 19, 2011

I am making an online form (literal form) that needs to have a certain function: when the user enters a 5-digit number, the form should automatically query the MS SQL DB and retrieve information associated to that number and populate other form elements (text boxes, etc.) accordingly.

So say the # was 12345 and in the DB, the record matching 12345 has name=Fred. So, when I enter 12345 into the form textbox, the name text box should be automatically populated with Fred in it.

If this is not easily achievable, I guess a submit button beside the 5-digit number text box can do.

I am still learning my way around ASP.NET and Visual Studio 2005, however I have ample experience with HTML, CSS, JavaScript, C/C++. The ASP.NET app is to be written in C#.

View 1 Replies

Forms Data Controls :: Getting Number Of Queries By The Categoryid

Feb 15, 2011

've made a quiz/score system where a user will go through categories (page by page using querystring) and after submitting his/her score i redirect them to the next page where i show them their score and i also want to show "out of x number of questions".

I've made a query in my dataset:

[Code]....

I get an error about "Cannot implicitly convert type "void" to "object". This is the first time i am trying to use the SQL COUNT so i am almost certain it has something with the way i write it in my BLL, but i cannot figure out why or how to write it as it should. Hopefully you can direct me in the right path?

View 5 Replies

Forms Data Controls :: How To Insert And Cancel The Queries

Nov 17, 2010

I am a total newbie here. I have generated a web page using Visual Studio 2008. It connects to a database and lets me insert records. On the bottom of the form it automatically pus a link for "Insert" or "Cancel". I need them to be buttons. Is this possible? I don't even know where to begin.

View 4 Replies

Web Forms :: Queries Reg Internet,intranet ,emailing & Its Processing

Aug 20, 2010

i am into web development using asp.net but reg some concepts i need to be clear i am not much awate abt the netwroking & the routers , SMTP server etc i am aware abt public domain /IP which is accesiable all over like yahoo.com so when we attach a file, or place images or upload images or give hyperlink the files get stored on this publicly accesiabel space & hence visible frm anywhere

same is the case for intranet web applications/sites. its accessibale in the LAN setup as here too we have a server where we can store images files etc

so if i need to send emails with hyperlinks, attachemnents images etc & which shld be accessiable frm anywhere i need to have a public doamin & space & al this gets stored in that public space (server)

i think my this concept abt the intranet & internet is clear . if anythinh left out wuld like to knw
but i have come across a prblm in which i need to do communication between the intranet & internet

i have a server in the intranet . when i attach or link any files/images frm my emailing module frm my intranet server it shld be viewable even out side the LAN setup. for doing the same wht SMTP setting needs to be done, or shld i set up a mailing server. i dont have a public domain . without a public domain/space how can i achieve it whts port_forwarding & can my soulution be achieved using it

reg the same wht can be the best possible way that can be achieved

View 1 Replies

Web Forms :: Single DropDownList Running Multiple Queries?

Jun 16, 2010

I have a drop down with several option. I would like that if a certain item is select then a certain query will run. I read a post that
azamsharp on 12/23/03 .In that post he suggested to do:

string myProcedure = DropDownList.SelectedItem.value.ToString();

SqlCommand myCommand = new SqlCommand("myProcedure",myConnection);

while reading through the post it seems that this wasn't a great idea.

View 15 Replies

Web Forms :: How To Write Multiple Queries On A Single Button Click

Jan 27, 2011

Is it possible to write multiple queries on a single button click? if yes then how?

View 5 Replies

Forms Data Controls :: Display Multiple Queries In Repeater

Apr 20, 2010

i want to display results from multiple queries in a repeater... is it possible? for example, a user searches for a keyword "test" i search 4 different databases for it, and display results from all 4 in one repeater.

View 2 Replies

Web Forms :: Login View - Avoid Unnecessary Queries To Db To GetRolesForUser?

Sep 10, 2010

I have built an asp.net web site with .net framework 3.5 and I am trying to avoid sending unncessary queries to my database in order not to have high server load. I have a login view in my master pages and it contains templates for anonymous users and members. To lighten my server load, I am using Sql Data Profiler and Database Tuning Advisor. I noticed that every page load triggers a stored procedure to get user role using
dbo.aspnet_UsersInRoles_GetRolesForUser stored procedure.

My question is that if it is necessary to check for every page load or I can store it somewhere and check later. is it Login View or Login Control sending queries? is it about access rules to member's pages? or is it because I used the login controls in my master page?

View 2 Replies

Web Forms :: Deal With Many Parameter Boxes Firing Database Queries?

Jul 22, 2010

I am very new on the C# and ASP scene and am after some advice on how to handle a senario. I have a asp website with 10 text boxes. These boxes form the basis of a user completed parameter selection. There is a button that will fire the query. The compliction is that some of the textboxes may be left blank and any combination may be filled in.

The only way i could think to do this is with countless IF statements. The user clicks the button and the process checks out the senarios and runs the corresponding SQL statement. The problem with this is that there are a vast amount of possible senarios depending on whether the user completes one box, all boxes, or a mix of any of them. The SQL query is the same for each senario bar the WHERE statement which changes depending on which text boxes are filled in. Is there another way of doing this or do i really need to write every possible senario out in full?

View 14 Replies

Forms Data Controls :: Multiple Queries 1 Gridview, Updatable?

Aug 2, 2010

in VB, exactly how would you show only 1 gridview for this type of page example, where a user can fill in multiple options for searching:

Enter first and last name
_______firstname
_______lastname

[code]...

View 2 Replies







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