.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Post New Web Links

Use WPF or build a complex service?

Posted By:      Posted Date: September 16, 2010    Points: 0   Category :WPF
 
I am mainly a web developer / silverlight developer, but have a new project which has a requirement for it to run locally and not require a webserver. Our clients are wide spread when it comes to technology, from advanced users to people who use their mouse pad only as a coaster for their coffee cup. Cause of this I need a simple install and setup. There is possible room for us to do the initial setup / install ourselves. Since I know Silverlight pretty well and live in the .net stack WPF stands out as the direction to go. The initial project is for the "program/service" to basically go out to a database (database configuration has to be setup at install, as we won't know what type of database or how it is configured) and grab data from a specific table, create an xml / json file/email with the data in a particular structure, then send the email (possibly without the use of a smpt client) to a server where the email will be parsed and ran through a set of processes. The idea is for this to happen at set times throughout the day, and there needs to be some checks and balances. For example: we want to ensure there was a successful "send" and that we are not sending garbage data, in the event the data table has improper data in it, or is missing data. Also will be dumping sent data out of the database on regular intervals. All of this is to be automated o


View Complete Post


More Related Resource Links

Foundations: Build a Queued WCF Response Service

  

With queued calls in Windows Communication Foundation you can perform work in a disconnected manner by sending messages through Microsoft Message Queuing. Juval Lowy explains.

Juval Lowy

MSDN Magazine February 2007


Text Rendering: Build World-Ready Apps Using Complex Scripts In Windows Forms Controls

  

The System.Windows.Forms.TextRenderer class provides support for complex scripts in Windows Forms controls so you can render text the way you want and support international locales.

Miguel A. Lacouture

MSDN Magazine March 2006


Error Build: Type or namespace could not be found, when referencing a web service

  
Hello, I'm new in writing C# application in Visual Studio 2008. I'm currently writing a web application for CRM 4.0 Reporting Service rendering. I reference my web application to our Reporting Service web service http://reportservername /ReportServer/ReportExecution2005.asmx and name it 'RSWebReference'. Then I want to reference it in my code: Using RSWebReference; Not sure why, but I cannot build my solution, saying "The type or namespace name 'RSWebReference' could not be found (are you missing a using directive or an assembly reference?)". I read this thread in http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/74f70e30-83e8-4817-b5e0-7729450730a1 that the website probably is using .net 1.1, and I should change it to .net 2.0. However, I think the website is already using 2.0. Is it probably because I'm using VS 2008? How can I tell and change if the website is using 1.1 or 2.0? Or could I be doing something wrong? Thanks in advanced for your help! -Elizabeth K.

Service Pack and Build to SQL SERVER 2005

  
Dear Sirs,
I installed the SQL SERVER 2005 and found that the latest service pack for it's SP3.
But the site http://support.microsoft.com/kb/960598/en-us, I noticed that there are several "builds" (cumulative update) to apply too.
My question is: after applying SP3 to SQL 2005, I need to install all the cumulative update's from 1 to 11, or the latter accumulates all previous fixes?
What must be done in this case?
Now, thank you the attention and collaboration.

WCF client for axis2 web service (same element names for different elements in different complex typ

  

Hi,

we want to consume a axis2 web wervice. We can't influence the web service definition.

the wsdl looks like:

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions>
...
  <wsdl:types>
        <xs:element name="BAPI_COMPANYCODE_GETLIST">
        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" maxOccurs="1" name="OUTPUT">
              <xs:complexType>
                <xs:sequence>
                  <xs:element minOccurs="0" maxOccurs="1" name="RETURN" type="psi:BAPIRETURN">
                  </xs:element>
                </xs:sequence>

Service returning Object fails when object is complex class

  

Hi. I have created a WPF client and a self-hosted WCF Service based on an interface, in wich alle methods returns a standard response class. An example of one such method definition is:

Response CreateAccount(AccountCreationParams accountParams);

 

The response object is defined as:

 

[DataContract]

public class Response

{

[DataMember]

public string ResponseText;

[DataMember]

public bool CompletedSuccesfully;

[DataMember]

public

how to deploy web service in sharepoint 2010 using build and deploy ?

  

in MOSS 2007, I used to use WSPBuilder utility and add web service as web service wspbuilder item to it. It helped to keep everything (WebParts, WebService...etc) together in the same project. All i had to do was WSPBuilder -> Build WSP and then Deploy.

Now in SharePoint 2010, how can i achieve similar scenario to deploy asp.net web service by just few clicks, i dont want to copy the dll to GAC, copy .asmx file etc.. manually.

 Any idea ?

Thanks.

 


Windows Service Applications Tutorials

  
You can easily create services by creating an application that is installed as a service. For example, suppose you want to monitor performance counter data and react to threshold values. You could write a Windows Service application that listens to the performance counter data, deploy the application, and begin collecting and analyzing data.

Use jQuery and ASP.NET AJAX to build a client side Repeater

  
By sending only data to the client, you can profoundly reduce the size of what you send and see a substantial increase in performance. You also allow yourself the ability to easily add features like light-weight sorting and paging on the client. This can not only improve your users' experience, but reduce server load and bandwidth requirements.

Use jQuery and ASP.NET AJAX to build a client side Repeater

  
By sending only data to the client, you can profoundly reduce the size of what you send and see a substantial increase in performance. You also allow yourself the ability to easily add features like light-weight sorting and paging on the client. This can not only improve your users' experience, but reduce server load and bandwidth requirements.

To that end, I'm going to walk you through these four steps to effectively implementing a client side Repeater, using ASP.NET AJAX and jQuery:

WCF Tip: Using Properties in Service Contracts

  
you'll notice all of the Service Contracts are implemented with interfaces containing only methods. For the longest time I thought that's all that was supported, until I thought about it a little more. In C# land, properties are simply wrappers around a get method and set method, so why wouldn't we be able to use properties in a service contract? Well the answer is we can.

Realizing a Service-Oriented Architecture with .NET

  
This article is meant to be a practical discussion guide to building a .NET application in a service-oriented architecture. We will consider real-world goals, real-world obstacles, and experience-based solutions. I quickly concede the approaches discussed here are not exhaustive or infallible. This paper is focused on application development, not application integration. We will specifically consider architectural issues and component design issues.

The Potential of Web Services

Use jQuery and ASP.NET AJAX to build a client side Repeater

  
By sending only data to the client, you can profoundly reduce the size of what you send and see a substantial increase in performance. You also allow yourself the ability to easily add features like light-weight sorting and paging on the client. This can not only improve your users' experience, but reduce server load and bandwidth requirements.

Web Service for uploading documents into SharePoint

  
WS UploadService is a web service written for Microsoft Office SharePoint Server 2007 and Windows SharePoint Services 3.0 and is meant for uploading documents into SharePoint. I have just uploaded the zip file to GotDotNet.com so it will take some time before the zip file appears in the list of downloads. For the time being, you can download the zip file from the following location

Creating and Using an ASP.NET Web Service in Visual Web Developer

  
In addition to letting you create Web pages, Microsoft Visual Studio also lets you create Web services that use ASP.NET XML. Creating a Web service in Visual Studio is similar to creating a Web page. You can also use the Microsoft Visual Web Developer Web development tool to reference and use Web services that are in a Visual Web Developer solution, on your local computer or in a local or external UDDI directory. In this walkthrough, you will create the Web service in one solution and use it in another.

Tasks illustrated in this walkthrough include:

Creating a simple XML Web service in Visual Web Developer.

Creating a separate Web site that uses the Web service.

MVC too complex?

  

I believe lot of people will disagree with me on this one. But the MVC model sucks. The reason:

1.       Over complicated;

2.       Cannot handle complex UI;

3.       Hard to debugging as code scattered all over the place.

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend