Hi everyone, I am new to asp.net .. i want to learn about web services.. can anyone pls provide me a good link or pdf on web services for reading it from basic.. thanks in advance..
I am using an asp:upload control to upload an image and am using the postedfile property to insert the path to the database. In my form I have a dropdown with autopostback=true where the user can select a topic to populate a checkbox list of categories. During that postback, the postedfile value is being lost and after a little research I have discovered that the posted file value is not maintained in viewstate for security reasons. Has anybody else found out how to get around this?
From an asp.net perspective (C#)
What are the strengths and weaknesses of each AOP tool?
Some factors to include:
Learning curve (for AOP newbies)
Interceptions possible
Performance
Cost
I can do DropDownList
<asp:DropDownList ID="YearList" runat="server" oninit="YearList_Init1" />
but I can't edit text manually there.
I can do Text box with Ajax DropDown extender but I can't select-Insert to textbox there. Only display :S
Question : how to create DropDownList which I can edit manually ?
In asp.net web application using c#, when we double click on design it will go to code behind page(cs file). but problem here is, when we double click on design its going to script of source file. why it is happening
I have a WCF service which I would like to access using ASP.NET. The binding used in the WCF service is basicHttpBinding. How may I do it? Any examples will be really appreciated.
I am using CodeProject's well known Open Session in View to handle NHibernate Sessions. Does it works well with Level 2 Cache? Anyone has succeeded doing it? Should I use NH.Burrow instead? Any advice on l2 cache in asp.net best practices is appreciated.
Edit: link to CodeProject's article: http://www.codeproject.com/KB/architecture/NHibernateBestPractices.aspx
I'm currently using the asp.net membership provider (with logins stored in db) to protect certain pages of my site. However, I also have non .aspx resources I wish to protect - word docs, excel spreadsheets, pdfs, etc. Is this even possible? If so how would I go about doing this?
thanks!
Hi,
i have problem with Visual Studio 2010 on Windows 7 x64. When i started asp.net site debugging, it stoped working. Only solution is restarting IIS.
Have anyone experiences with this?
Thanks
I'm trying to do a proof of concept app for my work using ASP.NET WebForms and the Managed Extensibility Framework. I've got things up and running(ish), but I can't seem to figure out how to attach the instance of Visual Studio that has the MEF code in it to the instance of Visual Studio that is running the Web App.
How can I attach my MEF code to the running process so that it hits my breakpoints?
Hello,
I was trying Ninject in a Asp.net Mvc application and I was wondering what the best practice is for using Ninject if you have more than 1 project in your solution.
I guess all projects need some kind of Loader which you initialize in the global.asax?
Kind regards,
Pickels
Hi folks,
is it possible to add a dot format / .format to the end of any route in ASP.NET MVC .. with a default being html or something?
and of course the .format is an optional value.
sample routes:-
http://whatever/controller/action.format
http://whatever/controller/action
those goto the same action method.
cheers!
Hi, i have a small problem. Im using the ASP.NET Xml control and want to pass it a url to a rss feed and a stylesheet - so that i can style the rss myself on my website. When applying the full web path to the xml control (http://www.myserver.com/myfeed.rss) i get an exception telling me that the document source is not a valid virtual path. What am i doing wrong? I would hate to download the file before showing it...
how to call a oracle database storedprocedure from asp.net mvc using nhibernate and how to use sys_refcursor to display a data in view pages give me sample application . thanks
Hello,
I am creating some cookies in my ASP.NET application. These cookies expire 10 minutes after they have been created. I follow the approach described on MSDN as shown here:
http://msdn.microsoft.com/en-us/library/system.web.httpcookie.expires.aspx
My question is, when a cookie "expires", what happens? Does the browser automatically delete the cookie? Is it our responsibility as developers to remove the cookies if they exist and have expired?
Thank you,
How can I retrieve recently posted Comments/previous comments on any video in you tube in our application using C# ASP.Net.Please provide detail coding with dll
Thanks in Advance
Ranjan.
I'm working on a ASP.NET MVC project where we have decided to use Fluent nHibernate for dataccess. To enable loose coupling we go for a IoC/DI pattern. My questions is what IoC tool to go for. I've tried to find the differences between windsor, ninject, spring, structuremap and unity, but it's difficult to see the benefits each one has to offer. Whats your experience?
Hi,
I've seening quite a few posts on here regarding grids, but nothing specifically asking for a free grid component that supports editing.
Has any body come across such a thing? Is there a JQuery pluggin that I could use?
If not has anybody got any pointers on a good approach to writing my own (using asp.net mvc2 and/or jquery)?
Thanks in advance!
Is possible define different profiles a the same time?
I have two type of users in my web site and they have different properties.
Using asp.net profile is possible to define two or more profiles with distinct properties?
I would like to know the number of users logged into my ASP.NET 2.0 application.
Points to be considered:
1) Simplest way would be to use Application or Cache object to have the counts on Session start or end. However this would fail if there is a worker process recycle. Wouldn't it?
2) Should't make a difference whether the session is inproc/state server managed/ or SQL server managed.
3) Should preferably be seamless to a web-farm architecture.
Here's my ASP Classic:
set irs = recordset(sql,PageDB)
if not irs.eof then
dim new_list
new_list = ""
do while not irs.eof
'Add irs("name") to new_list and seperate by comma
irs.movenext
loop
end if
kill(irs)
How would I add irs(name) to new_list and seperate by a comma?