-
- Welcome to the Acropolis Forums!
by David Poll - MSFT
- 1 Replies
- Last post
by Saurabh Nandu
- Welcome to the Acropolis forums! This is your home for discussing all things Acropolis. Now that we've released CTP1, we're looking for some feedback, so drop by and let us know what you think. Some of us on the team will be monitoring the forums, answering questions, etc., so know that we're out and about, sniffing out comments and concerns at every corner.
This is a great opportunity for you
-
- How to execute an ASP.net web service over SSL for consuming in a windows client application?
by Awaneesh Pandey
- 3 Replies
- Last post
by Evan H
- Hi,
I m developing a SCSF based smart client application using SOA architecture. Now i need to make my web service access secure when invoked from any of the client machine.
In order to do this, i want to put my web service over SSL, but i m not aware of the implications after its implementation & how secure it is to put a web service over SSL for a windows based application.
-
- How to set a Property ReadOnly dynamically based on another property value.
by Vinod.S.Nair
- 2 Replies
- Last post
by Vinod.S.Nair
- Hi,
I am sorry if I am not able to explain my requirement in the Subject. What I want is, I have a class with two Properties like HasSubMenu, and SubMenu Collection, object of this class is bound to property grid. The class i sgiven below.
Code Snippet
class Menu
{
private bool m_HasSubMenu;
private List<Menu> m_SubMenu;
[Browsable(true)]
pu
-
- Why ReaderWriterLock not release writer lock if inclusive read lock inside writer Lock was
by Roman Uvarov
- 6 Replies
- Last post
by Roman Uvarov
- I found strange behaviour for ReaderWriterLock. If I call method AcquireWriterLock and then after this in the same thread call method AcquireReaderLock with ReleaseReaderLock, method RelaseWriterLock will not release ReaderWriterLock and WriterLock will stay alive.
Is anybody know is this a bug or a feature
using System; using System.Collections.Generic; using System.Diagnostics;
-
- SMTP Mail without SMTP Service
by WRBehning
- 8 Replies
- Last post
by Dreedle
- I have a requirement for an email program to send SMTP mail without having IIS (and therefore no SMTP service) installed on work stations. I found a nice solution to this at http://www.eggheadcafe.com/articles/20030316.asp . I modified the code to fit my needs and it works. However I have a couple of issues.
One: How do I cause the SMTP server to send out delivery notifications on failure and
-
- Avoid serializing base class members
by proecco
- 3 Replies
- Last post
by Daniel Roth
- Hi,
I have extended System.Windows.Form.Label control and I also implement one additional interface containing some properties.
public class MyLabel: System.Windows.Form.Label, IMyInterface
{
//...
}
What will be the simplest way to serialize an instance of MyLabel class to include only IMyInterface members. I do not need to serialize any of base class (Label) members.
Thank y
-
- How to dispose TcpListener's holding port?
by mike_d...
- 5 Replies
- Last post
by Alan J. McFarlane
- I am developing a chat programme using TcpListener and TcpClient.. In the server side form, I have two buttons one is "Start Listening",the other is "Stop Listening".. Now the problem is : when I re-enter the "Start Listening" button after stop listening ,i will get this error : the same port can only be used once, but i 've stop the Tcplistener after I enter the &quo
-
- ERROR : PARAMETER_? has no default value
by Chanki
- 2 Replies
- Last post
by Chanki
- I am trying to call a INSERT INTO query but I am getting a Parameter error
Parameter_ has no default value...
private void button2_Click( object sender, System. EventArgs e)
{
try
{
//create SQL query to insert row
oleDbDataAdapter2.InsertCommand.CommandText =
"INSERT INTO Company (" +
"Client, [Action], Stake," +
"Market
-
- strange behaviour of key() function
by burokio
- 7 Replies
- Last post
by burokio
- Hi,
I am using .NET 2.0 XslCompiledTransform
As I understand if the second parameter of the xslt key() function is a node-set then key function returns union of results applying key functions to each node within the nodeset.
So how could it happend that the following expression returns nothing (empty node set)
< xsl:copy-of select = " key('Loops', $standardMapCon
-
- what is networking in .NET
by khalid bunery
- 3 Replies
- Last post
by Jörg Jooss - MSFT
- what is networking in .NET
through which lilbraries i can programe a bus topology network thanks.
-
- XmlSerialization attributes: difference between [XmlElement(...)] and [XmlElementAttribute(...)]
by Anjo Gasa
- 1 Replies
- Last post
by Derek Smyth
- While familiarizing myself with XML Serialization and controlling serialization using attributes, I've become confused whether there is a different between the use of "XmlElement" or "XmlElementAttribute" in actually writing the attribute in a class declaration, and in general for any serialization attribute. For example, consider the following class: public class Test { public
-
- Error generating classes using XSD.exe
by Subrata
- 2 Replies
- Last post
by Subrata
- I will appreciate any quick help on this:
I am trying to use xsd.exe to generate classes for a standard schema. I do not have any choice to modify the schemas. So if the tool has to work, it has to work on the existing schemas.
As I tried the following command line
xsd /c liberty-metadata-v1.1.xsd
I got the following warnings and errors:
Microsoft (R) Xml Schemas/Dat
-
- SqlDependency timeout problem
by rileyt
- 3 Replies
- Last post
by Mikhail Karpuk
- I'm on XP, SqlSever 2005, .NETfx 3. I'm using SqlDependency to get notifications of changes to my data store. My intent is that when I set up a SqlDependency object, that it will be in effect "forever". However, I find that after 2 minutes or so, changes will not trigger notifications anymore.
I initialize the dependency once per app domain thusly:
SqlDependency .Start(_connection
-
- System.Runtime.InteropServices.COMException (0x80010105)
by fsilva9
- 5 Replies
- Last post
by nobugz
- HELP!!! I have been charged with creating a mini web portal where customers can register a product and in return, get a activation license. I've successfully developed the app on my WinXP SP2 laptop using: Visual Studio 2005, SQL 2005, C#. I am inheriting an assembly that was written in 2003 which is responsible for actually creating the license. I call a function from this inherited .dll and r
-
- define a new querydef in an access db using asp.net
by orangutan
- 2 Replies
- Last post
by Paul P Clement IV
- My scenario is this:
I have inherited a large access database, critical to a website. I need to do some work on the site which requires that I modify a number of tables and create a few ne querydef so support the work.
The obvious soluition is to ftp the db locally, modify the file and upload it. But If possible I do not want to do this. I don't want to lose data and I don't want to take
-
- The located assembly's manifest definition does not match the assembly reference.
by Joe Sullivan
- 4 Replies
- Last post
by Joe Sullivan
- Does anyone know how to have two versions of the same .dll file referenced in the same .net application Let me explain. I have an application that dynamically loads forms contained in other assymblies. The assymblies are in seperate folders with all of the .dlls necessary to run that form in the same folder. The problem I am having is that each of these forms use the same .dll file with different
-
- "Deserializing" XmlNode.OuterXml to object, then back to XmlNode questions
by JesseJ
- 6 Replies
- Last post
by JesseJ
- My application provides a GUI for users to edit xml documents. The resulting documents are used by other automated systems following a shared schema. I figured I could cut down on the amount of code I have to write if I used XSD.EXE to generate classes for me to databind the xml to my winforms controls. The nodes in the document are originally created in code using a default namespace declaration
-
- ILMerge: Problem with references
by Rasmus Oudal Edberg
- 2 Replies
- Last post
by Evan121
- Hi,
I'm trying to use ILMerge to create components for the Umbraco web framework. I thought it would be nice is I only had to distribute one dll with my component.
The setup I'm using is ( a bit simplified):
MyComponent.csproj (Visual Studio web project)
....
--References
----umbraco.dll (local reference, Copy Local == false)
----SomeComponent.dll (local reference,
-
- How to execute an ASP.net web service over SSL for consuming in a windows client application?
by Awaneesh Pandey
- 6 Replies
- Last post
by Awaneesh Pandey
- Hi,
I m developing a SCSF based smart client application using SOA architecture. Now i need to make my web service access secure when invoked from any of the client machine.
In order to do this, i want to put my web service over SSL, but i m not aware of the implications after its implementation & how secure it is to put a web service over SSL for a windows based application.
-
- COM interoperability- SAFEARRAY usage
by Bishal Bansal
- 5 Replies
- Last post
by Bishal Bansal
- Hi I have created a DLL in C# and using the same in VC++ using COM interop. However i need to pass an array of user defined structures to VC++. The signature of the IDL File shows the return type of an array element as SAFEARRAY. I am able to get the elements from the SAFEARRAY but not able to get the exact values. Am i missing something Please help VC++ code hr = CoInitialize(NULL); Reader
-
- Strange: calling EndInvoke from an AsyncCallback - why UnhandledException
by wbradney
- 14 Replies
- Last post
by wbradney
- Can someone help me explain this In the simple example below, why does case 4 cause AppDomain.UnhandledException (which kills the app) instead of Application.ThreadException, given that the exception is ultimately thrown on the UI thread (being the same thread on which the exception is thrown in cases 1-3) What am I missing
using System;
using System.Collections.Generic;
using Sy
-
- IIS Settings for Publishing WebServices
by pankajsparashar
- 1 Replies
- Last post
by ranamauro
- Hi
I have webservice website in ASP.NET2.0 and published these webservices to IIS Server 5.1 on local host .My system has WinXP with sp2. When I try to browse any of webservice then it gives me following error
-----------------------------------------------------------------------------------
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please corr
-
- NTAccount.Translate for '<Domain>\Administrators' group account fails
by Lassor
- 2 Replies
- Last post
by Lassor
- Hi! Can anyone please explain me why following code gives an
SecurityException "System.Security.SecurityException: The name provided
is not a properly formed account name."
-- code start --
System.Security.Principal.NTAccount ntAccount = new
System.Security.Principal.NTAccount(@"<domain>\Administrators");
System.Security.Principal.Secu
-
- C# - MSMQ - HTTP Issues
by Seanlm76
- 0 Replies
- Last post
by Seanlm76
- I know this is not really a 100% C# question, however I'm trying to utilize MSMQ via C# over HTTP... I'm finding that I cannot create or check for the existance of Queues utilizing the HTTP channel whether they are private or public.
Example code:
string url = "FormatName IRECT=HTTP://myserver/ MSMQ/myqueue";
MessageQueue.Exists(url);
MessageQueue.Create(url);
-
- Enterprise Library for .NET Framework 3.0
by Mike19
- 3 Replies
- Last post
by Adrian Alonso
- Hi All. Has the Enterprise Library for .NET Framework 3.0 been released If it has, where is the download Thanks! Mike