MVC :: Make Multiple Clients (desktop And IPhone)

Feb 4, 2010

How can I make multiple Index pages (contains a list of data), one to be used for a regular client, and one special view for the iPhone. Based on the article found on http://dotnetslackers.com/articles/aspnet/DevelopingForTheiPhone.aspx , I know that I can distinguish using

[Code]....

View 1 Replies


Similar Messages:

C# - Multiple Asp Requests From Multiple Clients Share Information?

Dec 9, 2010

Imagine a website where individual clients can see each-other's presence - like a social network or a chatroom.

For example:

Client1 connects to my website.The back-end C# code updates a static field to indicate Client1's presence.
Client2 connects to my website.Will the back-end C# code for the second request see the information stored in the static field from the first request? Is there anything I need to do to guarantee that these seperate instances of my ASP application are sharing static data?

View 4 Replies

How To Make HTML Code Not Viewable To Clients Or Users

Jan 5, 2011

I am wondering are there any standard mechanisms available to protect the asp.net asp code in the client browser ? I found some references to windows script encoders. Question is,are these script encoders encodes both aspx and code behind source ? If aspx is encoded with the windows script encoders then how client browsers can decode it? Are they aware of the encoding algorithms ?Or can we control the client browsers ( IE, Firefox, Chrome etc) to disable the view source option in the Tasks Menu when web site a loaded in them?

View 6 Replies

Make Desktop Application Web Interfaceable?

Jun 17, 2010

Is there a way to make a desktop application easily interfaceable via Web ? Meaning, can you have a way to interface with a single desktop application as if you were remote desktop'd into the machine but not? I am looking at doing this in ASP.NET or Silverlight.

View 2 Replies

To Allow Multiple/ Different Clients To Access The Same Application?

Nov 4, 2010

i have an Asp.net application 3.5. I want to be able to allow multiple/ different clients to access the same application but using different url's. I have already managed to configure the database to allow this. So hia's the main part i want to host my application in a domain say... wwww.myapplication.com

then allow different client to access the same application using

1.www.clientOne.myapplication.com

2.www.clientTwo.myapplication.com

also the client subdomains i.e(clientone.myapplication.com and clienttwo.myapplication.com)should be autocreated by the client upon registration

View 5 Replies

C# - Remotely Execute A Program On Multiple Clients From A Web App?

Dec 21, 2010

So I have the following requirement for a project I'm working on, and I can't figure out the best (or any, for that matter) way to do this.

I have an asp.net web app sitting on IIS at HQ. When a particular event occurs, I need to then show a message on a dynamically selected subset of PC's throughout the company. The message must be shown due to the time restraints of this process (4 hours reaction time) and we legally can't afford to not show the message.

So I need to do the following:

Show a message to the users. I have a winforms app that puts up a dialog that the only way to get rid of it is to click a big "Acknowledge" button. To ensure that the message was shown. Some kind of report back that yes, it was shown and subsequently acknowledged. A way to react if the form is not shown.

I've considered the following:

PsExec - Iterating over every node asynchronously in my web app to fire off a remote executable sitting on each PC. .NET Remoting - I'm not familiar with this at all, and it lead me to look at WCF instead. Would it work for what I'm trying to do? WCF Callbacks - These seem to require a constant connection and I'm not sure what that means for our infrastucture. I imagined a client service that would kick off an app or show the form somehow. Our scheduling software (Tidal Enterprise Scheduler) - remotely executing an executable. This would introduce more points of failure.

In SO's opinion, what would be the best way to attack this problem?

View 3 Replies

C# - Events Through Application Scope To Multiple Clients?

Feb 15, 2011

First of all, I am creating a something like a client/server solution using a standard ASP.NET website - I do know this method is not adviced, and most people would love to scream "COMET!" or "HTML5 Sockets!" - but please don't ;-) !

What I am doing...

I am creating an MMORPG on a website.

I have several clients whom need to be in contact at the same time. This is done by a global object in the Application scope.

My problem

I need to invoke an event to several clients. For instance, when an attack has been performed, I need to update some graphics. The attack logic is resolved in the global object, but each of the clients has to respond to this.

Right now I do the following:

fightTrace.Reciever.InvokeMoveEnded(this);
fightTrace.FiredBy.InvokeMoveEnded(this);

(This is a kind of observer pattern)

What now happends is a race condition. The one who loads the page_load event will get both of these events, and the one who is not running them, will experience no changes in the UI.

So what is it I really want?

What I really need is some genuine and nice way to create an observer pattern through the application state. I need to send an event out to every "listener" which is in this case is a client, and then do some update.

View 1 Replies

Web Forms :: Make Data Controls Full Screen On IPhone Or Other Smartphones?

Sep 3, 2010

Admittedly, I haven't done a lot of development for iPhone or smartphones, in general. This is a conventionally sized asp.net 3.5 website with a subfolder that contains simplified webforms that are supposed to be optimized for smartphone screens, specifically the iPhone. The page giving me the problem contains an AJAX accordion control with three panes. The first pane has a DetailsView with the default mode set to Insert. The second pane has a three column gridview. The last pane has another detailsview that shows the detail of whichever record is selected in the gridview. Pane 1, the gridview, is the default view when the page loads. Everything works fine on the page but when it renders on the iPhone 4, the accordion and the controls are very small, occupying about 1/4 of the screen. Double-tapping the gridview causes the screen to zoom or you can use two fingers to stretch it to the size you want. I would like to find a way to make the page load with the controls already zoomed in to full screen. I have triedstyle="width: 400px;" in the <body> element, the <form> element, and in the <div> element. None of them made a difference.

View 2 Replies

Architecture :: Very Frequent Reads To Database Multiple Clients?

Dec 5, 2010

I have a website hosted with sql 2008 database on Godaddy. Here's my problem descriptionbefore I actually begin implementing.Entries are made in a table named "XYZ" by a third party program. Now, there are multipleclients (could be asp.net ajax web based or vb.net desktop clients which I have not decided yet) who
read data from this "XYZ" table every 10-15 seconds. The connection string used by these clients would be same. If I have 10000-20000 clients making connections and querying same table, would that cause any breakdown? Since my connection string is same, connection pooling isautomatically in place.

What else do you think I need to take care of? Or is there any better way to implement this setup?Also, should I go for asp.net ajax client implementation or vb.net(c#) client implemtation ?Your inputs would be highly helpful to me. I am looking for a medium to long term solution to thissetup.

View 10 Replies

Web Forms :: How To Send Email To Multiple Clients Located In Different Domains

Sep 21, 2010

How can i send email to multiple clients located in different domains such hotmail,yahoo,and gmail

is it required to provide Smpt server name, if we have multipe domain id, what should we do?

I am using fowling code but getting exception failed.

MailMessage mailMsg = new MailMessage();
mailMsg .From = "from@fromServer.com";
mailMsg .To = "to@toServer.com";
mailMsg .Cc = "cc@ccServer.com"";
mailMsg .Bcc = "bcc@bccServer.com";
mailMsg .Subject = "SubjectOfTheMailString";
mailMsg .Body = "BodyOfTheMailString";
SmtpMail.Send(mailMsg );

View 2 Replies

Web Forms :: Transfer Voice From One Client To Multiple Clients In Live

Apr 27, 2016

I'm trying to develop a new application for multiple users. the main idea is that one user talks and the entire users (who logged in ) could hear him (1 way).

How this can be made? how can i transfer voice from one client to multiple clients in live?

Note that my clients are mobile users (Android, IOS and Windows phone) and the server is .NET.

View 1 Replies

Mobiles :: Mvc Work With For Multiple Mobile Phones Such As IPhone, Nokia, Blacberry, Palm?

Jul 7, 2010

I would like to know if I can write asp.net mvc website that works for all these types of phones: iPhone, Nokia, Blacberry, Palm and Windows

View 5 Replies

Show The Desktop(share Desktop) To Other Person?

Nov 26, 2010

show the desktop(share desktop) to other person on asp.net or in 3rd free party control.

View 7 Replies

C# - Multiple Rows Have Multiple Submit Buttons, Should I Make A Form For Each Button?

Jan 28, 2010

I am listing about 20 rows, each row represents an Order.Each row needs to have 3 buttons, each button click will perform a different action.I have 3 actions to handle each button post request, I am just unsure how to setup the Html forms for each button.

<tr>
<td>
<form method="post" action="/orders/do1"><input type=button ... /></form>
<form method="post" action="/orders/do2"><input type=button ... /></form> [code]....

Should I create 3 forms for each button, per row in my listing?(that would mean 20 rows x 3 forms = 60 forms on a page)Is that 'ok' to do? (i.e. or is there a better way to do this?)

View 8 Replies

Web Forms :: How To Make Empty Multiple Textboxes

Nov 4, 2010

i have 5-6 textboxes in a panel. i want to make all textboxes empty on a button click.

View 6 Replies

Localization :: How To Make The Web Application To Available In Multiple Languages

Sep 21, 2010

I want my web application to support multiple langauges like english,german,etc

Is there a way we can do this in visual studio or is ther any other way

View 3 Replies

Web Forms :: Make Multiple Titles For A Webpage?

Apr 19, 2010

i need to make many titles for my webpage, How to find my page in Google results.

View 3 Replies

Web Forms :: How To Make Dropdownlist Allow Multiple Selection

Mar 29, 2010

Now my datasource has where clause depends on the selection of a dropdownlist that contains selection of one of the items plsu and option ALL.

This only caters for all or, one item

I need to make it

All, or, 2,3, or 4.. selection and the datasource is then refreshed. What control I should use and it seems the SQL need to modified into "IN" statement, am I wrong ?

View 9 Replies

Make Enumerations Available To Multiple Class Libraries?

Jan 27, 2010

I have a Solution with a web project and some class libraries. The enumerations are in a the enumerations folder within my web project. I would like to make some of the enumerations available to other class libraries within my Solution. Should I just add another class library and call it Enumerations to my Solution so that all class libraries and my web project can access them?

View 3 Replies

How To Make Multiple Web App Instances Read Same File

Jun 22, 2011

If more than one person is using the web application, and the web application requires to read a specific file (and in my case, I use StreamReader), I've noticed that the any other instance of the web application would have an exception error when trying to read a file. How do you handle this? And how about when it comes to writing to the same file (if possible)?

View 5 Replies

Web Forms :: How To Make A List Box Be Selected With Multiple Values Using C#

Oct 28, 2010

I'm using a listbox with multiple mode. I'm getting multiple values from listbox & storing values in databse all values in single field with comma to separate them. I've four buttons to navigate from each record in a table in database like "|<", "<", ">",">|".

when I click next button, according to the values in the table field, listbox selected values must change....

View 5 Replies

How To Make Multiple But Separate AJAX Calls In JQuery

Nov 19, 2010

I am trying to make 2 separate AJAX calls using buttons. What I want to happen is: when Button1 is clicked ProductsTable shows data from the webservice; when Button2 is clicked OthersTable shows its own data from the webservice. But right now, when either button is clicked, nothing shows up. I know the code works if there's only one of them and it's not wrapped around a .click function.

No error messages. ASP.NET 4.0, JQuery 1.4.4. Not using ScriptManager. Not using UpdatePanels.

Code below:

[Code]....

View 3 Replies

DataSource Controls :: How To Make One DataContext For Multiple Databases

Apr 17, 2010

I have 2 databases one called DB1, and the other DB2. Both of them has exactly the same design (tables, procedures and etc..)

Now, I am using SQLMETAL to create the DataContext. problem is that there are two lines that direct to a certain database and so I cannot use the same code for both databases.

here is the code:

[Code]....

Now, What I am lookin for is a programmatically way to change this two lines (DataBaseAttribute and the connrection string) .

The easiest solution for me of course is to create the class twice, with the same code and just change manually what I need which is not what I am looking for.

There is a full discussion with microsoft stuff right here: [URL]

View 4 Replies

Web Forms :: How To Make Multiple Day Selection From Calendar Control Using C#

Jan 28, 2010

How to make multiple day selection from calendar cotrol using c# asp.net 2.0 , and stored these selected dated in to the database tble

View 4 Replies

Architecture :: Use Separate Pages Or Make One With Multiple Views?

Nov 15, 2010

I'm working on a webforms aspx app (not MVC) and I'm not sure if I should just create separate pages or somehow make multiple views on the same aspx page for the following scenario: Basically, I need to give the user the option to view a set of data a few different ways (essentially different group by's from a data perspective)... the data is always the same, its just a matter of how to arrange on the page...

each way I need to present the data will essentially consist of 2 repeaters, one nested inside the other. The outer repeater will display a nice header section with the nested repeater showing the list of items under that heading. view by book title (title is outer repeater, with the book list being the nested repeater, yes, multiple books with same title for this example - the app has nothing to do with books, this is just to illustrate)

Book Title: A Good Story
Author - Publisher - ISBN
Dan Johnson - Smith Publishing - kjdkjfd99898989
Susan Day - Smith Publishing - aa777fd99ff
Greg Greger - Corp XYZ - amkj897hgrt554

Book Title: Another Good Story
Author - Publisher - ISBN
Frank Franky - Corp XYZ - kj3kjfd9d9980
Jason Cambel - Smith Publishing - 7g7fddddttt
Jill Breker - Smith Publishing - d9ddt523321

Or, view books by publisher (here the publisher would be the outer repeater and the list, with different fields compared to first view, is the nested repeater.

Publisher: Smith Publishing
Title - Author - ISBN
A Good Story - Dan Johnson - kjdkjfd99898989
A Good Story - Susan Day - aa777fd99ff
Another Good Story - Jason Cambel - 7g7fddddttt
Another Good Story - Jill Breker - d9ddt523321

Publisher: Corp XYZ
Title - Author - ISBN
A Good Story - Greg Greger - amkj897hgrt554
Another Good Story - Frank Franky - kj3kjfd9d9980

so what do I do here? Just making separate pages is simple and would work, but is there something else I should be considering? There will be 3 different views, so 3 pages total if I went that route. Something is making me think I should be doing this all within one aspx page? maybe just toggling the visible property of the repeater controls? but then I was thinking each of these repeater controls is databound, and I assume even if they are not visible they still incurred database hits to get the data, right? and that could be bad?

View 4 Replies







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