Picking The Right Web Technology?

Mar 25, 2011

I need to create a web application where the layout of the site is entirely programmatically generated - about the only thing that's done declaratively in the markup is the header. Basically, it's one of those AJAX-enabled entire-site-within-a-single-page type of sites where huge chunks of content (structured as modules such as navigation panes for example) are swapped in and out on the fly. From lowest-level to highest-leveled, the options I've considered are:

Classic ASP - Since ASP provides full control over the final output, this would be perfect if not for the lack of separation between logic and presentation and the subsequent lack of code reusability. ASP.NET MVC - REST and MVC routing seem like a poor fit, since there's only 1 actual webpage. Also, interpreting and transforming data and even the UI itself based on business rules (as opposed to direct user input) lies well outside of the deterministic CRUD operations that MVC excels at.

ASP.NET Webforms - Tried something like this using Webforms in the past, but ended up fighting with the ViewState and Postback event model every step of the way. Needless to say, performance was extremely poor and the codebehind was a mess due to the complex logic needed to fully and precisely regenerate each and every single aspect of the page on every single Postback. Silverlight - To be honest, I've never used this. Non-Microsoft technologies - None of the popular ones (PHP, JSP/J2EE, Flash) are entirely suitable either.

View 2 Replies


Similar Messages:

Picking Labels From A Form?

Jan 13, 2010

I have a program called Bartender which is a labeling program and it can use Visual Studio as an interface. I have been given the task to make our staff have an easier way of processing a label.

The data which I need is on our P:/ NOTAPE directory. Now in this folder is a list of text files which our ERP system generates.

I want the user to open up a form and have the ability to type in the Batch file number and press return(TextBox1). On pressing the button(Button1), the File will then be picked up and then passed on to Bartender which will then go through the procedure of asking how many labels need to be printed.

This is my code so far.

[Code]....

View 2 Replies

AJAX :: Picking UpdatePanel And Textboxes

Sep 8, 2010

I have two texboxes (text_start and text_end) both using calandarextenders to pick dates. What I im trying to do is when the user picks the "text_end" date - this will force an update panel to refresh. This updatepanel holds a single dropdown whose sqldatasource uses both dates as parameters.

View 3 Replies

.NET MVC 2 Website Doesn't Seem To Be Picking Up Code Changes?

Jun 29, 2010

I've just deployed my first ASP.NET MVC 2 site, and all appears to be well except I've run into an issue with IIS banning double-escaped characters, which I was relying on for a few routes.As I don't have control over IIS (it's on a shared host) I've decided to go around the issue and replace the spaces with underscores in my URLs. Have tested and verified that this works on my local machine, and deployed the two new model classes which contain the methods that url-encode and url-decode the various bits that need this.

However, the remote website hasn't apparently noticed that I've updated the code. I've edited web.config a couple of times to try and force a recompile, deleted the remote model classes and reuploaded them, and googled around for any other reason why this would be happening.

View 2 Replies

Databases :: While (dr.Read()) Not Picking Up All Rows?

May 18, 2010

The 'while (dr.Read()) statement in this code set is not process all the rows picked up by the sql statement in the access file. It will only process the first row found and ignore the rest. I can't seem to figure out why.

[Code]....

Here is the code in my access file: Product_Series_PendingAccess.sqlSelectAllRows

[Code]....

View 4 Replies

MVC :: Routes Not Picking Up With Another HttpModule Before The UrlRouting Module?

Jan 15, 2010

I have integrated MVC into an existing web forms application which is an in house CMS system. There are two HttpModules. The first one is part of the in house CMS system and does url routing (for the web form pages) along with other required actions. The system creates routes from records in the database and if the page is an MVC Controller, the first HttpModule that belongs to CMS system does not do any more routing and the UrlRouting module should find the route and handle it. Locally it all appears to work fine with the built in Visual Studio debugger webserver. However when published up to remote webservers, all MVC pages result in a 404...even statically created routes on application startup. At the moment, the external webserver does note have remote debugging enabled so I'm stuck there. I am assuming it's related to the multiple HttpModules since standalone MVC applications do work fine on the remote webservers.

View 3 Replies

C# - Picking A Server Control Depending On Environment?

Aug 4, 2010

I have an aspx page that references a server control from an assembly and lives in Sharepoint (knowledge/experience in Sharepoint is not required to answer this question, i'm simply giving you context). The implementation looks something like this:

<%@ Register TagPrefix="wc" Assembly="Test.Controls" Namespace="Test.Controls" %>
<wc:WYSIWYG runat="server"></wc:WYSIWYG>

I can NOT change the .aspx page's content which currently lives in Sharepoint and I have to to take the same code and run it outside of Sharepoint but still on an ASP.NET environment. It's cool and crazy at the sametime, I know.

When this aspx page is running in Sharepoint, I have to get the WYSIWYG editor control to use Sharepoint's WYSIWYG control. When the same aspx page is running outside of Sharepoint but still in an ASP.NET environment, I need it to use a different server control that's not dependent/from Sharepoint. How could I modify the code-behind to perform this toggling? Is this even possible?

View 1 Replies

Web Forms :: Picking Random Items From A List Based On Percentages

Jun 10, 2010

I am trying to make a way so that I can have a group with items in it, each one of the items (which is an object in a list) having a double type value, the total of all the items in the group is 100 when you add up all their properties. The purpose of this is that there can be random selection of the items.

for example:

item 1 percent property: 25.0
item 2 percent property: 25.0
item 3 percent property: 25.0
item 4 percent property: 25.0

When a request comes in, I need to be able to pick 1 of these items at the rate of 25% so that after a while (more and more requests) that each of these gets very close to 25%. I have tried looking at random numbers but pulling a number back seems useless in this case because for example if a random number retrieved was the number 5.4, how would I send it to an item? I cannot keep a history of the item requests so that I can factor that in. I need to be able to pick a random number and over time have each of these 4 items be selected an equal amount of times, the percentages and amount of items is going to change constantly but the sum of all the percent properties within a group is 100%. What is the best way to accomplish this in C# with a web form?

View 2 Replies

WCF / ASMX :: WCF Deadletter Queue Service Stops Picking Up Messages

Dec 15, 2010

I have a custom dead letter queue service to pick up messages from DLQ. This service picks up failed message from DLQ and tries to resend to a different end point. If the new endpoint doesn't work, it rolls back transaction. This works great. Here is the code.

{
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single,
ConcurrencyMode = ConcurrencyMode.Single,
AddressFilterMode = AddressFilterMode.Any)]
public class FDPDLQService : IFDService
{
FDPManager _fdpManager = new FDPManager();
[OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)]
public void ProcessFDMessage(FDMessage message)
{
//System.Diagnostics.Debugger.Launch();
try
{
MsmqMessageProperty mqProp =
OperationContext.Current.IncomingMessageProperties[MsmqMessageProperty.Name] as MsmqMessageProperty;
// if message log required, and configured, log the incoming message
try
{
ChannelFactory<IFDPRouter> factory = new ChannelFactory<IFDPRouter>("IFDPRouter_EP");
IFDPRouter proxy = factory.CreateChannel();
string ep = proxy.GetNextEPForGivenEP(OperationContext.Current.IncomingMessageHeaders.To.ToString());
if (ep == null || ep == string.Empty)
{
throw new EndpointNotFoundException(Common.Constants.FDP_NOT_FOUND_EXCEPTION_MESSAGE);
}
// Process message with next end point available
_fdpManager.ProcessFDMessage(message, ep);
}
catch (EndpointNotFoundException enfe)
{
ExceptionManager.HandleException(enfe);
Transaction.Current.Rollback();
//throw;
}
catch (Exception ex)
{
ExceptionManager.HandleException(ex);
Transaction.Current.Rollback();
//throw;
}
}
}
}

Below is config entries.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<netMsmqBinding>
<binding name="DLQServiceBinding" closeTimeout="00:01:00" openTimeout="00:01:00"
receiveTimeout="00:10:00" sendTimeout="00:01:00" deadLetterQueue="Custom" customDeadLetterQueue ="net.msmq://localhost/private/FDPDLQ"
durable="true" exactlyOnce="true" maxReceivedMessageSize="65536"
maxRetryCycles="2" receiveErrorHandling="Fault" receiveRetryCount="5"
retryCycleDelay="00:30:00" timeToLive="00:01:00" useSourceJournal="false"
useMsmqTracing="false" queueTransferProtocol="Native" maxBufferPoolSize="524288"
useActiveDirectory="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport msmqAuthenticationMode="WindowsDomain" msmqEncryptionAlgorithm="RC4Stream"
msmqProtectionLevel="Sign" msmqSecureHashAlgorithm="Sha1" />
<message clientCredentialType="Windows" />
</security>
<!--deadLetterQueue="System">-->
</binding>
<binding name="DefaultBinding" >
<security mode="None" />
</binding>
<binding name="FDService_EP" closeTimeout="00:01:00" openTimeout="00:01:00" deadLetterQueue="Custom" customDeadLetterQueue ="net.msmq://localhost/private/FDPDLQ"
receiveTimeout="00:10:00" sendTimeout="00:01:00"
durable="true" exactlyOnce="true" maxReceivedMessageSize="65536"
maxRetryCycles="2" receiveErrorHandling="Fault" receiveRetryCount="5"
retryCycleDelay="00:30:00" timeToLive="00:01:00" useSourceJournal="false"
useMsmqTracing="false" queueTransferProtocol="Native" maxBufferPoolSize="524288"
useActiveDirectory="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport msmqAuthenticationMode="WindowsDomain" msmqEncryptionAlgorithm="RC4Stream"
msmqProtectionLevel="Sign" msmqSecureHashAlgorithm="Sha1" />
<message clientCredentialType="Windows" />
</security>
</binding>
<binding name="FDChecking_EP" closeTimeout="00:01:00" openTimeout="00:01:00"
receiveTimeout="00:10:00" sendTimeout="00:01:00" deadLetterQueue="System"
durable="true" exactlyOnce="true" maxReceivedMessageSize="65536"
maxRetryCycles="2" receiveErrorHandling="Fault" receiveRetryCount="5"
retryCycleDelay="00:30:00" timeToLive="1.00:00:00" useSourceJournal="false"
useMsmqTracing="false" queueTransferProtocol="Native" maxBufferPoolSize="524288"
useActiveDirectory="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport msmqAuthenticationMode="WindowsDomain" msmqEncryptionAlgorithm="RC4Stream"
msmqProtectionLevel="Sign" msmqSecureHashAlgorithm="Sha1" />
<message clientCredentialType="Windows" />
</security>
</binding>
</netMsmqBinding>
<netNamedPipeBinding>
<binding name="Teletrac.EFX.Interfaces.FDService.IFDPRouter" />
</netNamedPipeBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="DLQServiceBehaviour">
<serviceDebug includeExceptionDetailInFaults="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service name="Teletrac.Customer.Services.FDPDLQService.FDPDLQService" >
<endpoint address="net.msmq://localhost/private/FDPDLQ" binding="netMsmqBinding"
contract="FDPServiceRef.IFDService"
bindingConfiguration="DefaultBinding"></endpoint>
</service>
</services>
<client>
<endpoint address="net.msmq://localhost/private/fdmessageQueue"
binding="netMsmqBinding" bindingConfiguration="DLQServiceBinding"
contract="FDPServiceRef.IFDService" name="FDService_EP" />
</client>
</system.serviceModel>
</configuration>

This works great.

But if all endpoints are not available for a long period of time, and if service rolls message back to the DLQ for a long period of time, after a certain period of time service stops picking up messages from DLQ. I am not sure which configuration is responsible for this.

View 2 Replies

Forms Data Controls :: VB Page Textbox Which Is In The Formview Is Not Picking Up?

Sep 21, 2010

I am using a form view to update details off activities, i have used the asp.net wizard to update the activities but for some reason in my VB page my textbox which is in the formview is not picking up.

[code]...

Basically what I am trying to write is: How can I rewrite this statement so that the textbox and the dropdownlist is recognised in the vb page?

View 6 Replies

DataSource Controls :: Object Data Source Not Picking Up Business Objects?

Mar 26, 2010

I created a class library: PRTreatmentReviews. I created a reference for the class library on the website. I checked the property pages and the reference to the class is there. I put objectdatasource on a page and tried to pick up the PRTreatmentReviews class but it's not there? The Class

[Code]....

View 13 Replies

Php - Technology For New Webproject?

Jun 6, 2010

i am planing to set up a new webproject which has to use a database and a model which can be presented in a browser. I looked at a lot of technologies (JSF, PHP, ..) but i could not find a free and easy framework/technology for me (in the end i prefered asp.net, but this is not free). What can you recommend me for a new webproject from scratch?

View 3 Replies

Which Book Is Best For WCF Technology

Apr 4, 2011

Possible Duplicate:

WCF Book Recommendation

Which book is best for WCF technology .

View 2 Replies

Web Technology Blending?

Apr 5, 2010

It is possible to blend regular ASP.NET with Silverlight and MVC in the same project or as different projects in the same solution?

View 2 Replies

Php - Best Server Side Technology

May 31, 2010

What is the best server side technology to learn?

View 1 Replies

Java - How To Select Best Technology

Oct 19, 2010

Recently we got a project which can be developed either in J2EE or Asp.Net (no restriction from client). Client is asking to give best solution to maintain the project in long run.

Here I don't want to discuss about "Java vs .NET" but need to know which one is preferable to reduce maintenance cost. If I choose any of these technologies, which one will require less development and maintenance cost. Also consider recruiting people like developers, server administrators and software purchase and etc.

If I go to Java, I can choose any Operation System, Web Server, Application Server and database. But for a kind of enterprise applications will there be any low cost when compared to MS technologies?

Simply putting, assume I need to have 100 web servers, 30 database servers. Which one will require less investment?

View 1 Replies

Finding What Is The Latest Technology

Mar 15, 2010

I am an ASP.NET developer. What is the latest technology in ASP.NET and also the documentation about it?

View 4 Replies

Best Architecture/Technology Approach In C#

Dec 14, 2010

I was planning to utilize MVP, DDD, TDD, IOC, Dependency Injection, Repository , StructureMap etc but the timeframe is very tight and this can also be achieved in n -tiered architecture:

Technology:

Client Web Portal

ASP.Net /C#/SQL Server

Project Specification:

5 types of customers
Template of service
Dynamic Data Driven portal
Modules can be activated/deactivated through management console
Branding and customization
Rapid deployment portals of future clients as well
Portals willallow for customization
Data reporting services: reports and
BOBJ Ad hoc Query
Value- Add services to the clients
portal
Each Clients welcome page can be
customized by client as well
How can I determine which Client is
on "Welcome" page without them
logging in? Create different URLS for
each client base? how?
Mobile Application services
Localization
Demo portal should be built and sent
to client for testing rapidly

Database structure:

There will be core database which will be connected to 50-60 client databases depending on the login and other details.

What is the best approach in terms of data layer? since dynamic db connections will have to be implemented?

View 5 Replies

How To Check Website Technology

Mar 1, 2011

Possible Duplicate:

To know whether a web page is built using PHP, JSP, ASP.NET, or other technologies

How can I check if the website is created in asp.net technology ?

View 1 Replies

How To Create Video Conference With .NET Technology

Dec 1, 2010

Maybe anyone know how to create video conference with .NET? And also how to including the video conference in ASP.NET website?

View 2 Replies

Technology Used For Running So Many Counters At Same Time

May 18, 2010

I am making a clone of quibids.com in asp.net. This site is in PHP. Can anyone check it and tell me which technology / language they are using behind those so many running counters at the same time? Is that server side counter or client side counter? I have tried ajax counter and ajax update panel in asp.net but it is taking so much time to load all counters and to run those counters. You can see my created website at : [URL]. Can anyone suggest me any good server side counter than ajax counter which can run fast or if I use a simple javascript counter, how can I bind it with database?

View 1 Replies

C# - What Type Of Technology Uses YieldAds, DoubleClick

Dec 14, 2010

I wonder what kind of technology, different advertising networks use, such as YieldAds, DoubleClick and Google Ads.

View 1 Replies

Which Technology To Choose When Integrating RFID

Sep 14, 2010

I have a RFID reader which reads my employee code. Now i want to log the date and time of the chip when it is scanned by the reader (ie) for an attendance system Login time and logoff time. I would like to use asp.net MVC and sql server 2005. how to integrate RFID with an asp.net mvc web application. Where should i start?

View 2 Replies

Web Forms :: How To Implement Push Technology

May 7, 2015

How to implement push technology in asp.net ...

View 1 Replies

Which Technology Is Best For A Facebook Application Ruby On Rails Or C#

May 13, 2010

My friend and I want to write a Facebook application. We've narrowed down the list of possible technologies to Ruby on Rails and C# with ASP. Here are the pros and cons we've thought of.

Cons:

ASP - proprietary tools like Visual Studio etc. cost (lots of) money. We both don't know ASP (although we're not bad at C#).

RoR - It's scripting so might be harder to maintain. My friend doesn't know RoR at all (but he's a fairly proficient programmer so will probably be able to pick it up quickly).

Pros:

ASP - Facebook has an official SDK for .NET.
RoR - I know RoR. It's open source, free and has fast development time.

What says the community? Is there something we haven't thought of?

View 2 Replies







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