Is it possible to set the Transfere mode to MTOM in .net 2.0 if so, how?
The reason I am asking is because I want to consume a WCF Service on a non WCF-client.
This is a related post
Hello,
I have this string in vb.net.
I would appreciate if you can let me know how I can enclose the values in double quotes
dim str as string=""
str.Append("EmpID=" & empNo & " DeptID=" & deptID & "")
I want the value of string to be EmiID="10" DeptID="20"
Thanks
I would like to write all data relations processes (general functions regarding with DataAccess via .NET) in dll and I wanna use it repeatedly. What kinds of functions should have in that dll? Some want to use Storedprocedures , Some with Statemets. Can you all suggest me? Please guide me! Thanks all!
I there a simple way when using ASP.NET 4.0 routing with Web Forms to produce a route that will act as some kind of wildcard?
It seems to me that within WebForms, you have to specify a route for every page - I am looking for some kind of generic route that can be used where nothing specific is required, perhaps mapping directly from path to path so...
http://somedomain.com/folder1/folder2/page would possibly map to folder1/folder2/page.aspx
Any suggestions?
Thanks
There are some questions on SO about Html diff engines, but i cant find right answer. What i need is .NET library for comparing two rendered html strings and displaying diff (like SO renders questions/answer editing revisions (example)).
Hi
I have different urls that points to the same code
www.url1.com
www.url2.com
I need to use the cache, but if the asp net cache is enabled when someone access to www.url1.com next person accessing www.url2.com could get the previously cached data (www.url1.com)
I need to have ALL caches activated except this one.
Hi,
I am writing a custom installer in C#.
Can you tell me an easy way to check if the machine has .NET version installed [even 2.0].
In cases where it is not installed, my app doesn't even start.
Thanks
I'm trying to create an application similar to the site WhatPulse, which will generate an image with my clicks and keystrokes. WhatPulse only updates the image once every 24 hours, so I am going to make an application to keep track of that for me, only with realtime stats.
How can I count total keystrokes (outside of the application itself) as well as total clicks, in vb.net?
This is for personal use.
Thanks for your help!
I have two ASP.NET MVC web applications. One of them logs unhandled exceptions to the windows event log. The other doesn't.
Is there a setting in IIS or the web.config to enable event log logging?
Apologies for the broad question, I'm really looking for avenues for investigation.
I tried to convert a project that relies on the vjs runtime to vs2010, but it errors out when trying to run. It's giving the error that "Could not load file or assembly 'vjslib' or one of its dependencies. An attempt was made to load a program with an incorrect format." I reinstalled the vjs runtime, but it didn't seem to help. Is there any way to get get .net 4 to work with this? Thanks!
I'm writting my own view engine.
public class MyViewEngine : RazorViewEngine
{
public override ViewEngineResult FindView(ControllerContext controllerContext, string viewName, string masterName, bool useCache)
{
// Here, how do I get attributes defined on top of the Action ?
}
}
ASP.NET MVC Custom Attributes within Custom View Engine
Above SO Question has how to get attributes defined on top of the Controller. But I need to get attributes defined on Action.
Hello,
I want to implement single sign on in my asp.net web application. Scenario is something like below:
user will get registered / sign up at "account.example.com"
there will a link to "professional.example.com"
when user goes to this link (step 2), they must remain logged in over here.
Please suggest me the best solution for this.
Regards,
Pratik
Is there a way of running an ASP.NET website in a subfolder of the website?
As an example, say I wanted to run the screwturn wiki (http://www.screwturn.eu/) in a folder called "wiki" on my website, can I alter the web.config of the screwturn website to tell it that it is running in the "wiki" folder? (like saying that "~/" = "/wiki/")
The wiki would then find its assemblies that are in "~/bin" in "/wiki/bin" and the same for all other folders below the new root.
Right google isn't helping me on this one. I need to open a second browser window or tab, but it must have a different session id. Opening the new browser window from my asp.net page is easy, but then it shares the same cookie and thus session ID with the original. So how can I do this? I need the original browser window to keep its cookies and session and the new browser window to have a new session.
I have payment gateway integration in my application developed using .Net Compact framework 3.5.
Is there any "Credit card validation and parsing utilities" that i can use in my application or is there any class that i can use to identify the type of the card?
Hi,
I created a small WPF desktop application. I am thinking about how to make my application internationalized. Is there any Language Class to research (.NET 3.5 based)?
I want to load the my application language from windows region/language configuration automatically.
OR. some method to switch language from my application menu list.( no additional language package installation, assume the windowns system language packages support Chinese/English/Japanese/Korea already).
Hi there
I'm Working on an Asp.net/C# application.
I want to bind a list of objects to a grid view.
I've been looking a while to the ObjectDataSource control and it loads data to my datagrid as soon as my page loads.
Can I change this behaviour?
For example, how can I set DataBinding only when a button on my page gets clicked?
tks
Hello
I am importing Tables from a Oracle DataBase, using a VB.NET dataAdapter. I use the "fill" comand to add the imported data to a DataSet. How is it possible to define a specific column of a DataTable as PrimaryKey, after the DataTable is already filled with data?
Thank your for your help.
So I've played some with the new, not yet final release of ASP.NET MVC framework and I find it to be very nice and elegant. However at work we are tied to Java for the time being, so I'm wondering this: is there a port of the framework out there for Java people like myself? I realize that webforms isn't going to be available unfortunately but what about the routing framework?
/Adam
in the default asp.net-mvc sample after calling changepassword returns you to a changepasswordsuccess page. I want to return the user back to the page they came from.
What is the best practice on how to do this? add a parameter to the changepassword action and then store as a hidden field on the changepassword page?
I have a complex URL rewriting scheme which breaks the built in Forms Authentication ReturnUrl mechanism. I would like to grab the requested URL for later redirection away from my login.aspx. I can get this URL in Application_BeginRequest via HttpContext.Current.Request.AppRelativeCurrentExecutionFilePath. However, Session state is not available in Application_BeginRequest. How can I store this URL prior to ASP.NET redirecting me to login.aspx?
My site stops working when I drop a new DLL in the bin of my virtual directory. It took to much time to work properly again. Sometimes I have to reset the IIS. Its happening since I upgraded my .Net framework from 1.1 to 3.1
I am having problems with deleting all records in a table with VB.NET. I am using this code to delete all records in the Contacts table
For Each contact In database.Contacts
database.Contacts.DeleteOnSubmit(contact)
Next
But I get this error
Can't perform Create, Update or Delete
operations on 'Table(Contact)' because
it has no primary key.
Anyone have any suggestions?
Thanks