I'm attempting to bring some .net 1.1 legacy code into .net 2.0 and some of it relies on the Microsoft.web.services2 web services enhancements.
I could have swore I read somewhere about the objects in that dll being packaged into the .net 2.0 framework, or that they were replaced by something else in the .net 2.0 framework, but I'm not ...
I have the following xml format:
<FavouriteSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Customer>
<ID>12</ID>
<ID>2</ID>
<ID>5</ID>
</Customer>
<Supplier>
<ID>158</ID>
<ID>23</ID>
<ID>598</ID>
</Supplier>
</FavouriteSettings>
=========...
Hi
I am still a bit confused about something about FormsAuthenticationTicket and the actual cookie container.
What does DateExpiration in FormsAuthenticationTicket() refer to? Is that when the cookie dies? Is that how long the user can stay logged in without any active actions (i.e. timeout)?
<forms loginUrl="~/Account/LogOn"
...
I use WPF data binding with entities that implement IDataErrorInfo interface. In general my code looks like this:
Business entity:
public class Person : IDataErrorInfo
{
public string Name { get; set;}
string IDataErrorInfo.this[string columnName]
{
if (columnName=="Name" && string.IsNullOrEmpty(Name))
return "Name is...
Hi guys
Just wondering if anyone has any idea of why my filter order is being ignored...
[AcceptVerbs(HttpVerbs.Get)]
[Compress(Order = 1)]
[EnhancedOutputCache(Order = 2, Duration = 5, VaryByParam = "true", Location = OutputCacheLocation.ServerAndClient)]
public virtual ActionResult Index()
{
return View();
}
public class Compr...
The subject speaks for itself.
Does XNA effectively replace Managed DirectX?
We have a few projects using managed DirectX in VB.NET. I was considering porting one over to XNA, but wonder whether it's worth the effort.
Thanks in advance for your time.
...
As the title says: do i need to override the == operator? how about the .Equals() method? Anything i'm missing?
...
What is the best way to convert a JavaScript array of doubles
return [2.145, 1.111, 7.893];
into a .NET array of doubles, when the Javascript array is returned from a webbrowser controls document object
object o = Document.InvokeScript("getMapPanelRegion");
without using strings and parsing?
The object returned is of type __ComObj...
SmtpClient smtpClient = new SmtpClient();
MailMessage message = new MailMessage();
try
{
MailAddress fromAddress = new MailAddress("[email protected]", "Lenin");
smtpClient.Host = "localhost";
//smtpClient.Host = "";
//smtpClient.Port = 25;
messag...
Is there a way to have multiple columns in TreeView control?
...
We are evaluating to upgrade Castle Windsor Container to Version 2, which was released in May this year. By this time I would expect the community to have made some experiences about the new release...
My main concerns are:
Is it worth the effort to upgrade to v.2? (any major important new functionality or bug fixes?)
Is the migration...
I'm currently looking how to work with caching on my web application I'm buildning.
I have an ormapper (nhibernate, not using second level cache), and I have built a cache frame, built on System.Web cache, that I pass in the objects.
My question is. Are there open source cache frameworks someone can recomend?
Is their anything to gain ...
I've been playing with Code Contracts on VS2008 (http://msdn.microsoft.com/en-us/devlabs/dd491992.aspx).
They surely are nice and provide a solid alternative to if-then-throw checks inside methods.
Nonetheless I've been hoping that they could satisfy the need that I strongly feel for non-nullable reference types.
Alas, from what I could...
I'm looking for a component to render SVG files in .Net Compact Framework (preferably 2.0) with the possibility to rotate and scale the image.
DXF would also be an alternative but SVG would be preferred.
Does anyone know of a component able to do this? Or have any recommendation on how to implement it?
At the moment I'm leaning toward ...
Hi I'm using the aynchronous members of the WebRequest to upload files to an IIS ftp server.
I can upload two files with success. However BeginGetResponse on the third file never calls my call back routine!
Any Ideas welcome?
thanks,
john
...
Hi,
There doesn't seem to be a .Show() kind of method for the Windows.Control.ToolTip, incl in ToolTipService. Any ideas?
Thanks! For your help. :-)
...
Is there a way to write an object in C/C++ that can be used from .NET? I would like to do it in a most simple way, the one used to extend basically all other languages, i.e. write an object in C, conform to the interface required by the language runtime, use the object from the language.
...
Good morning,
does anyone know of a (native) .net way to convert xps documents to docx or finally to a normal (non wordml) .doc? As in not using office automation and rather some native (3rd party) .net library that might help me there?
Basically the xps > doc transformation will take place on a server with multiple concurrently runnin...
Hi.
i have a collection of object. when i add some object on that collection. will it save that object itself or save its reference.
List<Student> myList;
Student std1 = new Student();
Student std2 = new Student();
myList.Add(std1);
myList.Add(std2);
myList will contain what?
duplicate copy of std1 and std2 or reference of these two ...
Situation: C#, .NET 3.5, WinForms
Objective: Form1 has a Button that can be enabled via the constructor. I.E. the button will only be shown if I call new Form1(true).
We'd like to be able to pass a method via some param from Form2 to Form1 (doesn't have to be on Form1's constructor), and when Form1.Button1 is pressed, Form2.<SomeMethod...