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 have created VB.net project.In that i have two textbox,and two buttons
button1--submit
buttom2-Duedate
textbox1 contain the current date
My constraints is if i click button2(Duedate) than add 30 days to textbox1 date and assign that value into textbox2.
How to achieve this?
I want the result like as folloes
If I give textbox1 = 12/12/2009
than
I click Duedatetextbox2.text =11/1/2010
Is it possible.
Thanks in advance.
I know that F7/Shift F7 will switch between Code behind and ASPX pages, but
what's the shortcut to switch between source and design view in Visual studio for asp.net Pages?
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.
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...
We have a scenario where we would like to allow our users to upload images to the site. We are running on ASP.Net.
A quick search did not result in anything good. It would be great if the control is free/open source but we do not mind paying a little bit.
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.
Is there any way to generate database models from existing database (sdf file) for .NET Compact Framework 2.0? Since it doesn't support LINQ I cannot use SqlMetal.
I'm looking for free for commercial use tool.
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
How can I protect a ClickOnce deployed application with a password? Do I have to change the IIS settings of the web or is there a way to do it programmatically? I'm using Visual Studio 2005 (.NET 2.0).
If I have to use web credentials, are auto-updates of the application still possible?
Would be great if you could provide some sample code or detailed instructions for administering IIS.
Thank you!
With alle the new paralell programming features in .NET 4.0, what would be a a simple and fast way to implement the producer-consumer pattern (where at least one thread is producing and enqueuing task items and one other thread executes (dequeues) these tasks). Can we benfit from all these new APIs? What is your preferred implementation of this pattern?
Is there any IOC container that already implements a controller factory compatible with asp.net mvc 2.0 ....if so i'll move my projects to 2.0 to test...
Anyone know a good reference about it?
Hi,
I have installed MySQL .NET data provider 5.2 (through it's installer) but I could not see the MySQL data provider in Data Source dialog of Database Explorer.
I am using VS 2008 Express edition. Do you have any clues ?
Regards,
Jatan
Learning just another language is not much work. However, getting familiar with all the supporting libraries is veeeery expensive and actually you cannot go too far without that.
Would you consider a worthy career investment to learn java once you already are an accepted professional of .NET or you would rather invest the same amount of energy to get deeper in the things you already know?
Actually its the mono version of asp.net, XSP.
In my begin request function i check the url and rewrite when necessary. In one case i do
context.RewritePath("~/App_Data/public" + path);
When i try to request images or anything i get a 404 instead of the content. Why?
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,
I'm trying to connect to an oracle database with .net but i get the error:
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
however, when I enter add a new database connection through toolsconnect to database. it works fine. even after copying the connection string which is:
Data Source=source here;Persist Security Info=True;User ID=userhere;Password=pass;Unicode=True
Hi Guys,
We are trying to build a cross-domain single-sign on solution using ASP.NET MVC. Something which works like this:
User hits www.test.com [or www.test2.com or www.test3.com or www.testN.com]
User clicks widget, login appears
User signs into www.example.com from 2) i.e. from widget [x-domain signin]
User is now logged in on www.test.com [authenticated from www.example.com]
User visits [www.test2.com or www.test3.com or www.testN.com] and is signed in to www.example.com
Any existing solutions or tutorials available ?
I'm trying to make semantic urls for search pages, but if someone use a search finished in dot, the .net engine return a 404.
The request don't even get to the routing engine, so i think its something related to security or something like that.
For example, the stackoverflow routes also don't work in these case:
http://stackoverflow.com/questions/tagged/etc.
Hi,
is there a way to draw mixed-formatted text in .Net 2.0? I'm looking for something similar to
System.Drawing.Graphics.DrawString()
My problem with this method is that it allows only one format style for the whole text. But I need to draw text that has different format styles (e.g. a part of the text shall be underlined, another part bold and so on).
Thanks a lot!
Oliver
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've been reading about MVC in which the authors suggest that testability is one of the major strengths of MVC. They go to compare it with ASP.NET WebForms and how difficult it is to test the code behind in WebForms.
I do understand it's difficult but can someone explain how unit tests were written to test code behind logic in the old days?
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!
In my 2nd ASP.NET MVC project I'm facing a very weird problem: when I call the SubmitChanges method of the DataContext class, nothing updates in the database. It's weird because everything works fine with my first project.
I'm using a remote database created in Sql Server Management Studio, I tried doing some queries there and in Visual Studio 2010 (where I have the connection to the database), they all work.
Where might the problem be hidden?