A friend of mine is building a Content Management System in PHP.
PHP is a scripting language where code is evaluated at run-time, and therefore it is fairly simple to add code.. at run-time (think: a forum, a contact form, etc.)
Doing the same in ASP.NET (which is compiled).. not as simple.
Have you guys got any thoughts on how you wo...
Using ASP.NET 3.5 with VB codebehind.
I don't want to use a webservice to populate an autocomplete extender on a textbox. In this case, it's where the user is entering email addresses and I don't want to make a trip to the database every single time. I'd much rather keep a collection in session state and 'bind' the autocomplete to tha...
Hello Team,
We have a website where we need a scheduler to receive notifications (e-mail) on specific time. eg. a person setting reminder at 5 PM to attend the meeting at 4:45 PM, will receive email at 4:45 PM about same.
As this site is hosted on shared server, we don't have any control over the server to run any SQL Job or scheduler...
I want to create an asp.net ajax calendar like this, but entirely in code-behind. How do I do it?
Edit: I only want to add the js code to the page in code-behind (eg: not in the markup)
Edit_2: I need this because I create a textbox control in a template class and want to create the calendar there (for use with the textbox)
...
I am developing an app in ASP.NET C# and came across the following scenario:
I will have to create some maintenance screens for different entities (tables)
Those entities will basically have the same behaviour within the UI: Search, GetById, Save, Create and GetAll
The entities may have different structure i.e. different properties (fi...
After posting this question:
http://stackoverflow.com/questions/781189/how-to-lock-on-an-integer-in-c
Many of the answers made me feel that I'm a 'sinner' for using lock in my web apps. I never thought this is a problem (if used wisely), what about you? Do you ever use it in your web applications?
I don't see how a web application can...
In solution explorer of asp.net application we are adding something in References section
for eg:in our project there are sample.Dal,sample.exeption ,system.core etc
What is actually References means,,,can we add by 'using' statement
...
In ASP.NET, is there any way to get the real raw URL?
For example, if a user browse to "http://example.com/mypage.aspx/%2F", I would like to be able to get "http://example.com/mypage.aspx/%2F" rather than "http://example.com/mypage.aspx//".
I would of course like a clean way to do it, but I can live with a hacky approach using reflecti...
I am attempting to encrypt connection string values in the Web.Config file for an ASP.NET 2.0 web application, following the procedure described on MSDN. Using the RsaProtectedConfigurationProvider, I created and exported a machine-level key on my development machine (using the -pri flag), and imported the key and granted access on the w...
Hi all, trying to map the following style of route: http://site.com/username in the same way that you can do http://www.twitter.com/user
My initial solution was to have these routes:
//site.com/rathboma - maps to user details for rathboma
routes.MapRoute("Users", "{id}", new { controller = "Users", action = "Details" });
...
We've noticed that it's possible to recreate a copy of an ASP.NET FormsAuthentication cookie on another machine, allowing the second machine to authenticate without needing to log in.
One suggested solution to this has been to store the session ID within FormsAuthenticationTicket.UserData and to check that the two values match inside Ap...
I've been wondering if there are any best practices on structuring your Webforms web application ASP.Net architecture?
I'm providing a mock structure of a web application I've been working on to allow the community to give me some feedback.
c:\DEV\Code\TheCompany\Core\
(Contains data and business layer
dlls)
C:\DEV\Code\TheCompany\Cor...
I had a developer tell me recently that you should ALWAYS do database calls asynchronously. (Either using ThreadPool.QueueUserWorkItem or IAsyncResult and delegates)
His justification was this: IIS only has 24 (or so) threads that it can use for requests. When a user makes a request they get one of those threads. However, when you use a...
Curious whether folks have setup 2 way transactional replication on the tables ASP.NET uses for SqlServer stored session state (ASPStateTempSessions and ASPStateTempApplications) and the tables used for membership, role, and personalization? How did it work out? Were there any gotchas?
...
asp.net validation spacing is messed up with 2 validation controls on a textbox.
I tried playing with display static/dynamic but that didn't work.
ideas?
Update
What is happening is this, if the 2nd validation control displays its message, the 1st validation is using up some white space as a placeholder for its message. So there is a...
In a old site, I was changing the way that CustomErrors works by adding redirectMode="ResponseRewrite" (new in 3.5 SP1)
The thing is that it shows me the generic error page (the one that you get when you don't set customErrors
<customErrors mode="RemoteOnly" defaultRedirect="Error.aspx" redirectMode="ResponseRewrite">
<error status...
I am building a website that is using the aspnet membership classes. When the user logs in successfully, I redirect them to a myaccount page. In this page I want to load a profile, but I need to know what user is logged in. How would I do this with the aspnet membership stack?
Thanks
Jim Rieck
...
Hi,
I have a web app(ASP.NET 2.0 C#). On my Masterpage, I have a menu control, and I am using a css stylesheet to style the different parts of the menu. For some reason, when I hover over the menu, it jumps a little. I think somehow the borders become larger when I hover over it.
Heres the styling for the whole menu:
.menu
{
widt...
I have a windows shared web hosting, and i want to create there a file watcher which will monitor my images folder and resize the new images.
I thought to make it as a separate component because i may sell to others later.
Any ideas?
...
Hi ,
From where can the ASP.NET RADKit for Endeca downloaded from ?
Thank You
Jewel
...