C# - Looking For Design Recommendations - Asp.net?
Dec 17, 2010
Looking for design recommendations in asp.netwhat be better to use for design controls on the screento put controls in table ? or absolute position for the controls ?what is better to use ? What all developers use ?
View 4 Replies
Similar Messages:
Jul 5, 2010
i'd like to recieve comments on the way i'm trying to build an asp.net web application which uses a WCF service that is hosted in another asp.net application. Both applications will live on the same machine, but the app with the WCF service will not be accessible from the outside. there will be two web servers sharing the load behind a load balancer.
The app pool of both applications will use the same local user account (web server is not part of a domain) and so i was thinking to use WsHttpBinding with windows security for communication between client and internal wcf service.
The fron-end asp.net app uses forms authentication through a custom membership/role provider to athenticate and authorize users. The user database is in a sql server database.
i need to somehow pass to the wcf service the user details (username + roles) so that in the wcf it will be possible to validate and authorize according to the roles of who is logged in the front-end. I read i need to use "support tokens", but i haven't figured out how to use this.
I read also something about claims and WIF, which seems interesting but have no idea how i could use these in my scenario.
is there anyone who can give me recommendations about the architecture and maybe also show me how to pass the username to the wcf service and also show me if possible to use claims based authorization?
View 1 Replies
Dec 21, 2010
From the following URL i got some doubts about the Recommendations for using Abstract class vs interfaces
[URL]
1. If you anticipate creating multiple versions of your component, create an abstract class. Abstract classes provide a simple and easy way to version your components. By updating the base class, all inheriting classes are automatically updated with the change. Interfaces, on the other hand, cannot be changed once created. If a new version of an interface is required, you must create a whole new interface. { Is there any example for this t ounderstand throughly ?} If you are designing small, concise bits of functionality, use interfaces. If you are designing large functional units, use an abstract class. If you want to provide common, implemented functionality among all implementations of your component, use an abstract class. Abstract classes allow you to partially implement your class, whereas interfaces contain no implementation for any members. { Is there any example for this t ounderstand throughly?
View 3 Replies
Apr 16, 2010
I look after a number of divisional websites for a uk based membership organisation and what we want to do is provide, as well as other address functions, is a closest member lookup to a web user from the websites themselves.A few use cases that I want to fill:ase 1: The user puts in their post code and wants to see all the members in a 5/10/15/20/30/40 mile radius from themCase 2: The member puts in an area (city, county, etc.) and gets a list of members in that area.Essentially what I'm looking for is a programmable API which I can code against to do:post code lookup and returns addresses (after picking house number for example).
search post code + radius (5miles, 10miles etc) and get a set of applicable post codes to then join onto the membership records in the databaseAny recommendations? It can be a quarterly update install on the server, it can be a queryable web service.
View 4 Replies
Mar 8, 2010
I'm looking for recommendations for a basic site search control or example of creating some code to provide a way for users to search a site I am developing. I'd like to keep it quite simple if possible and ideally want something I can use straight away.
View 4 Replies
Jan 17, 2011
I'm starting to plan an architecture for a big web application, and I wanted to get suggestions and/or recommendations on where to begin and which technologies and/or frameworks to use. The application will be an Intranet-based web site using Windows authentication, running on IIS and using SQL Server and ASP.NET. It'll need to be structured as a main/shell application with sub-applications that are "pluggable" based on some configuration settings.
The main or shell application is to provide the overall user interface structure - header/footer, dynamically built tabs for each available sub-app, and a content area in which the sub-application will be loaded when the user clicks on the sub-application's tab. So, on start-up of the main/shell application, configuration information will be queried from a database, and, based on the user and which of the sub-apps are available, the main or shell app would dynamically build tabs (or buttons or something) as a way to access each individual application. On start-up, the content area will be populated with the "home" sub-app. But, clicking on an sub-app tab will cause the content area to be populated with the sub-app corresponding to the tab.
For example, we're going to have a reports application, a display application, and probably a couple other distinct applications. On startup of the main/shell application, after determining who the user is, the main app will query the database to determine which sub-apps the user can use and build out the UI. Then the user can navigate between available sub-apps and do their work in each. Finally, the entire app and all sub-apps need to be a layered design with presentation, service, business, and data access layers, as well as cross-cutting objects for things such as logging, exception handling, etc.
Anyway, my questions revolve around where to begin to plan something like this application. What technologies/frameworks would work best in developing a solution for this application? MVC? MVP? WCSF? EF? NHibernate? Enterprise Library? Repository Pattern? Others? I know all these technologies/frameworks are not used for the same purpose, but knowing which ones to focus on is a little overwhelming.
Which ones would be the best choice(s) for a solution? Which ones work well together for an end-to-end design? How would one structure the VS project for something like this?
View 1 Replies
May 4, 2010
I'm looking for advice on what .NET user interface components are out there on the market. I have been developing asp.net websites and have mainly been using the Visual studio toolbox build in controls supported by the AjaxcontrolToolkit and the applications have been mainly used inhouse running on our company intranet.
But now a new client wants a much more professional looking, commercial web application and they have a budget for some user components for use in the application. Any recommendations where value for money will be realised.
Interested in components that will integrate well with ASP.NET 3.5 SP1 or even .NET 4.
View 2 Replies
Jan 13, 2011
I'm considering going at this myself because my requirements are particular and highly customized:
The grid is bound to a collection of complicated objects, each of which may contain child and grandchild objects. Depending on data and context, the template'd cells vary from TextBoxes to ComboBoxes to Calendars to a combination of controls.TextBox cells have Google-style auto-complete functionality. Also each TextBox cell can expand into a small TreeView pane that allows hierarchy-navigating selection of a value should auto-complete be insufficient.Values from other controls can be drag-and-dropped into cells.Columns are re-sizable and re-orderable. Clicking their headers sorts data.All of the above is AJAX / client-side / Web 2.0 of course.
Has anyone built anything similar from scratch? Or used an effective tool to accomplish this goal? How well would Telerik meet my specs? Is it right to have the hunch that something this specific is best done by taking a Microsoft GridView and extending it myself?
View 5 Replies
Oct 20, 2010
where he sells paper products, as well as custom posters, banners, and the like. He doesn't have a website, so he's hired me to create one for him, where users can place orders, check the status of their order, etc.Other than his requirements, I'm trying to come up with other common functionalities that I should include in the site; things like a company blog, an admin section containing a simple CMS and error tracking/logging, a contact form, etc. Just common things that would be useful for a business site that he (or even I) might not think of
View 2 Replies
Aug 9, 2010
I am looking for a nice control that allows me to have a shopping cart on my webpage.
Requirements:- Easy to implement. I want to add items into the cart from everywhere. Like
mycart.Add(new CartItem("Name", "Description", Price"))
Implemented shopping cart overview with the ability to delete previous added items.Allows connection to Paypal
(I've already found http://stackoverflow.com/questions/1522832/looking-for-a-lightweight-asp-net-shopping-cart-that-is-paypal-compatible but the posted solution "shopping cart .net" does not seem to fulfill the third requirement, If I'm not mistaken.)
View 2 Replies
Jul 26, 2010
Looking for recommendations for a control which make can do spell checking for various languages.
View 3 Replies
May 30, 2013
I am using VS 2010 login form and aspnet table for user creation and role assignment. Every thing is working excellent.
My concern is that more 200 users will logon on this site simultaneously what will be the effect on performance? how to optimize site speed when more than 200 users will be log on.
View 1 Replies
Mar 17, 2011
I'm developing a CMS for my website.
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.
View 2 Replies
Feb 23, 2010
can't connect to sql 2005 express sp1 and vs is also sp1. 2) Which my guess is because of the database connection not being able... design view is not able to pull in the application for design, it's as if there is no theme and css just white background and black print.
View 1 Replies
Feb 27, 2011
I installed Rad Controls. Using that controls, I designed my application pages. At design time, the design is not visible. It shows the following error:
RadTabStrip1Failed to create designer 'Telerik.Web.UI.RadTabStrip, Telerik.Web.UI, Version=2010.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4'
View 2 Replies
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
Jan 5, 2010
in my project the design view is not viewed, but the project is working well and good .. the only issue is i cant see my design view ..
error stated is ""Cannot switch views: Validation (Internet Explorer 6): Element 'Style' cannot be nested within element 'td'.""
View 2 Replies
Jan 28, 2011
On my pages I sometimes have a tab menu with the following HTML:
<div class="tabWrapper">
<div class="tab tabSelected"><a href="artworkHome.aspx">Home</a></div>
<div class="tab"><a href="#">Create New</a></div>
<div class="tab"><a href="#">Help!</a></div>
<div class="clear"></div>
</div>
Different groups of pages have different tabs obviously. But what is the best way to write these tabs onto a page without manually doing it with HTML each time, so that if I want to add a tab I don't have to go through each page ensuring they are all the same?Should I make my own control? What is the best way to load these tabs in a modularised way? Should I have a class which holds all the tab groups and builds the HTML?
View 3 Replies
Jun 21, 2010
I am doni. I need help in developing a website. I can able to fit layouts. using the following codes.
<div id="nav">
<ul>
<li><a>About Us</a></li>
<li><a>Home</a></li>
<li><a>Services</a></li>
<li><a>Contact us</a></li>
</ul>
</div>
Since <a> tag has redirection (href) property. using that we can redirect page. But I need to preform operation in code behind page (Default.aspx.cs)
View 3 Replies
Sep 27, 2010
i have followed GridView in my ASP.Net Page:[URL](Made by mine designer in Photoshop).(The header Background is a file)I tried a lot, but it seems very very hard to design this.Here is my code:
<asp:GridView ID="itemsGrid" runat="server" AllowPaging="True"
AutoGenerateColumns="False" AllowSorting=true
DataSourceID="imeiEntryDataSource" OnRowDataBound="gvItems_RowDataBound"
[code]...
View 2 Replies
Feb 8, 2011
We are moving from ASP.NET Web Forms to MVC 2.0. In most of our projects we have a typical setup to communicate with a database.
Common (objects/entities like 'SiteMenu' and 'Users')
Business Logic Layer (with calls to de Data Access Layer)
Data Access Layer
The DAL has a DatabaseHelper with common database operation, an OdbcHelper with database specific operations (eg MySQL) and a StoredProcedure class with all the stored procedures.
How is this design translated into a repository design? We want to use our own database helpers instead of NHibernate etc.
View 1 Replies
Dec 6, 2010
how to Design web program (asp.net) ? I'm used to WinForm Design when i drag any control to the screen - He did not refuse me but in asp.net (web Design) the control Do not want to settle where i want. i came from the WinForm world and now i do my first steps in the WebForm.
View 3 Replies
Oct 4, 2010
I am working with a financial application and am looking for the best solution for designing my application.
We have 100's of stored procedures where most/all of our business logic sits. We have WCF web services projects built using Web Service Software Factory (http://servicefactory.codeplex.com/). We have stored procedures built for nearly everything (tables, dropdowns, etc..) and each of these stored procs have their own webservice exposed to be called by the web application. Each web service is a very simple method that calls the stored procedure with the exact paramaters of the web service. I am not too sure if this is the best design and would like to ask for suggestions and alternatives to the design. Does anyone else have a similar environment ? How is it implemented on your end ?
View 2 Replies
Nov 9, 2010
how to get what you design to look like when you publish or view the website? What I design and then view, does not always come out correctly.
View 3 Replies
Jan 14, 2011
I am totally lost with this one. I made a site with a Site.master, ChildMaster.master, and a few web form(Welcome screen, About page, etc). Use a main.css page for formatting perpose. Here's the problem. My welcome screen I've done with Design screen and everything is perfect but as soon as I debug and send it on site, nothing matches, the 2 columns wich should be side by side VERTICALLY are HORIZONTAL... Tried every tricks I know and changed just about every code lines and it just comes back all crooked. Any gourou out there got an idea what in hecks name is going on?
View 1 Replies