The document discusses various topics related to developing Windows and web applications using Visual Studio .NET including:
1. ClickOnce deployment, web services, Windows Communication Foundation (WCF), and threading.
2. Web services allow applications written in different languages and running on different platforms to exchange data over networks using XML and SOAP.
3. WCF is used for building connected systems and supports various messaging standards and transport protocols.
Click to add notes Peter Gfader Developing Windows and Web applications
Task Deploy your homework from week2 via ClickOnce to your local IIS. Homework from week2 = Winforms UI with LINQ 2 SQL that displays list of employees Show me the screen of ClickOnce: Properties in WinformsUI, “Publish”, “Application Files” Question What happens here with ClickOnce... Your current version is 1.5 You rollback a version (in Control panel, uninstall), now you have 1.4 How can you get version 1.5 again? Do you get it automatically?
Part 1: Deployment of .NET Winforms apps History Deployment & Updates Security Issues & Warnings Configuration and user settings Part 2: Security Role-based security Authentication and Authorization Impersonation Code Access Security Assembly Strong Naming
Java current version 1.6 Update 17 1.7 released next year 2010 Dynamic languages Parallel computing Maybe closures
http://prezi.com/tg2kaukw8sez/wcf-intro/
The Structure of an Endpoint Each endpoint consists of the following: Address: The address uniquely identifies the endpoint and tells potential consumers of the service where it is located. It is represented in the WCF object model by the EndpointAddress class. An EndpointAddress class contains: A Uri property, which represents the address of the service. An Identity property, which represents the security identity of the service and a collection of optional message headers. The optional message headers are used to provide additional and more detailed addressing information to identify or interact with the endpoint. For more information, see Specifying an Endpoint Address . Binding: The binding specifies how to communicate with the endpoint. This includes: The transport protocol to use (for example, TCP or HTTP). The encoding to use for the messages (for example, text or binary). The necessary security requirements (for example, SSL or SOAP message security). For more information, see Windows Communication Foundation Bindings Overview . A binding is represented in the WCF object model by the abstract base class Binding . For most scenarios, users can use one of the system-provided bindings. For more information, see System-Provided Bindings . Contracts: The contract outlines what functionality the endpoint exposes to the client. A contract specifies: What operations can be called by a client. The form of the message. The type of input parameters or data required to call the operation. What type of processing or response message the client can expect. For more information about defining a contract, see Designing Service Contracts . Behaviors: You can use endpoint behaviors to customize the local behavior of the service endpoint. Endpoint behaviors achieve this by participating in the process of building a WCF runtime. An example of an endpoint behavior is the ListenUri property, which allows you to specify a different listening address than the SOAP or Web Services Description Language (WSDL) address. For more information, see ClientViaBehavior .
Show windows search form
Demo Windows Search and talk about how this is a threaded application. When you click search a new thread is launched to search for files while the main thread waits for results to display. If it were single threaded, then when you click search the application will become unresponsive until all the search results have returned.
STA Model depreciated MTA
private void LoadData() { for (int i = 0; i < 30; i++ ) { listBox1.Items.Add(&quot;Peter - Gfader - &quot; + DateTime.Now.ToString(&quot;s&quot;)); Application.DoEvents(); Thread.Sleep(200); } }
new Thread(LoadData).Start();
Click to add notes Peter Gfader Developing Windows and Web applications