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 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 have one SDK that is available in Java and another SDK that is available for .Net and would like to write a single application that interfaces with both of them. I imagine I will need to use a cross platform communication framework that can support named pipes (or other in memory communication), what is the best choice?
After some more research I found Hessian -- does anyone know anything about the maturity of this project?
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'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 a .NET developer learning Java EE. These two concepts seem to serve the same exact purposes in either system.
So which framework gets credit for inventing them?
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...
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..
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.
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!
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.
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?
What error handling should be used in VB.NET?
Should you use the "On Error Goto ErrorHandler ... Exit Sub ErrHandler ... End Sub" pattern or should you use the "try { ... } catch { ... } finally { ...}" pattern?
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,
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?
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
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 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 ?
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?
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?
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
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?
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