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


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

WCF JSON - The Windows Filtering Platform has blocked a packet.

Posted By:      Posted Date: October 13, 2010    Points: 0   Category :WCF
 

I'm running a WCF web service which exposes an XML and a JSON interface. Almost all functions work well for both response formats. However, when rendering certain a couple calls the XML functions work perfectly but the JSON equivalent doesn't work. After looking through the logs I found that the Windows Filtering Platform seems to be blocking the JSON response. I've included the xml equivalent package:

 <GmsDetailResults xmlns="http://schemas.datacontract.org/2004/07/GmsClient" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Result i:nil="true" />
- <Status>
  <Code>0</Code>
  <Message>Success</Message>
  <NewToken />
  </Status>
- <Results>
- <GmsEntityDetail>
  <Flag>0</Flag>
  <Name>MBIT Management</Name>
  <OverrideID>0</OverrideID>
  <Source i:nil="true" />
  <TypeID>2</TypeID>
  <UniqueID i:nil="true" />
  <Description>MBIT GMS Data</Description>
  <Flag>15<


View Complete Post


More Related Resource Links

Cloud Computing: Windows Azure Platform for Enterprises

  

Learn all about Microsoft's Windows Azure platform at the architectural level and how it addresses enterprise cloud computing concerns including economics, security, storage and more. Included are an Azure pricing table and a sample cost calculator.

Hanu Kommalapati

MSDN Magazine February 2010


Web Parts: Use Windows SharePoint Services as a Platform for Building Collaborative Apps, Part 2

  

Microsoft Office SharePoint Portal Server 2003, which is part of the Office System, lets you create and manage virtual servers, site collections, sites, workspaces, and users. You can also use the Windows SharePoint Services object model to design and implement user-targeted applications. In the second part of a two part series, the authors take a look at the WSS and SPS object models, Web Part Page anatomy, creating and deploying Web Parts, and Web Part security. They also discuss Web Part infrastructure and how to create custom Web Parts.

Jason Masterman and Ted Pattison

MSDN Magazine August 2004


SharePoint: Use Windows SharePoint Services as a Platform for Building Collaborative Applications

  

In this article the authors provide an in-depth examination of the architecture of SharePoint products and technologies: WSS and SPS. WSS provides the foundation for creating collaborative Web sites that support customization and personalization and SPS complements WSS by playing the role of a content aggregator. This article explains how.

Jason Masterman and Ted Pattison

MSDN Magazine July 2004


Windows CE.NET: New Version Offers Revamped Platform Builder, Improved Tools, Enhanced API, and Sour

  

Windows CE .NET, the newest member of the .NET family, includes a number of improvements over previous versions of Windows CE. For example, there are quite a few new APIs and enhancements to security and connectivity, the user interface, the kernel, and the emulator. In addition, DirectX support has been added and C++ in Windows CE .NET now supports C++ exceptions, STL, and runtime type information. In this article the author takes a tour of Windows CE .NET, starting with the New Platform Wizard that allows you to code for your choice of devices. A sample application is included that locates features on portable devices so the reader knows what's available before writing code.

Paul Yao

MSDN Magazine July 2002


C# windows form looks different on different OS/Platform

  
I have run into a problem where windows form made in C# looking different when it is runned from Xp professional edition and Xp Media Center edition.  All the functionality, group box, buttons, textbox were fine. However, the sizes of the picture boxes I have added on to the program seems to change its relative size ratio from one OS to another.   I an in a situation where the picturebox on XP fits nicely into the whole designer form where as on MediaCenter Pictureox enlarges to not fitting in to the designer form. Does anybody have answer for this problem would like to offer me a hand? Thanks   Cordially, KSJP

visual studio 2010 and 2008 ide on windows 7 64 bit seems to be blocked from reading the registry

  

I am using:
1. visual studio 2008 and visual studio 2010
2. windows 7 ultimate
3. 64 bit gateway
4. I am using a third party control that has been registered using regsvr32
5. its wrapper was created with 64 bit aximp
6. The code runs but  in design mode nothing shows:
Warning 1 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))  0 0 

7.I used regedit and tried to give all the user's permission to read the registry entry for the item - didn't work.

8. The same code and situation works fine in windows vista home: which means  visual studio cannot read the registry on the windows 7 pc

What do I need to do


windows latency overhead between socket.send to packet out of box?

  

What is the latency caused by windows OS from the time a C# application does Socket.Send to the point when the packet actually leaves the machine?

We can assume the NIC used is top of the line 1Gig and there is very little traffic in and out of machine.

I'd like to know the theoretical and/or real numbers on Vista and if possible, pre vista.

 

 

I posted this question in another section but did'nt get much attention, this seems like a more relevant group to post my question.

http://social.msdn.microsoft.com/Forums/en-US/wsk/thread/75752293-6e2d-4883-97f6-cba1cf458928


Windows service stable APPCRASH in clr.dll after 3.5 to 4.0 .NET platform change

  

I have windows service project created with .NET 3.5 some time ago. It uses managed class library with native code via PInvoke. Recently 4.0 .NET version of that class library was created. I had to change windows service configurstion to 4.0 .NET client also.

Wierd problem started to appear after 4.0 version compilation. After about 1 minute of run service is terminated. In the Windows Events Application Error entry is created (event code 1000, task category (100)):

Application name: MyService.exe, version: 1.0.0.0, timestamp: 0x4d87107f 
Module name: clr.dll, version: 4.0.30319.1, timestamp

Utilizing Microsoft Framework.NET 4.0 on a Windows 7 (64-bit) Platform

  

Dear MSDN experts,

Windows Update has automatically installed Framework.NET 4.0 along with numerous Visual C++ 2008 Redistributable downloads, an 2005 ATL Update, and SQL Server 2005 Compact Edition (ENU). I am a computer novice but because of these updates, I am interested in applying Microsoft developer tools. I would like to know the best approach to utilize these installs and am trying to ask appropriate questions to the most relevelant forms.

How can I initiate myself to .NET application for website development and its connection to SQL Server. How can I access the most appropriate software and steps to experiment its widespead features and applications and is it available to me for free?

Thank you for the time and effort for this humble student to get initiated in MSDN Development. fcZZ.


Confusion on SQL Server Express 2008 installation - target platform Windows 7

  
Trying to install SQL Server 2008 Express. During the installation process a message box appears indicating need for .NET and updates Windows Installer.  It is difficult for me to determine if the install process actually updates .net and Windows Installer - since the only confirming message is for some "roles" message - do  .net and Windows Installer actually get updated?

Utilizing SQL Server 2005 Compact Edition (ENU) on a Windows 7 (64-bit) Platform

  

Dear MSDN experts,

Windows Update has automatically installed SQL Server 2005 Compact Edition (ENU) along with numerous Visual C++ 2008 Redistributable downloads, an 2005 ATL Update, and Framework.NET 4.0. I am a computer novice but because of these updates, I am interested in applying Microsoft developer tools. I would like to know the best approach to utilize these installs and am trying to ask appropriate questions to the most relevelant forms.

I have searched the Learn Category in MSDN and the closest approach I have found is to obtain what I believe are the necessary packages to apply SQL Server namely, the 2008 Management Studio (what is the best version and download source?), Visual Studio (what is the best version and download source?), and/or SQL Server 2005 Compact Edition Online Books (can I read them online or do I have to download them?). Are these packages available to me and are they free?

Will the utilization of this server allow me access to external databases for import to Microsoft Access and Excel? So far I am puzzled as how to sign in on any server source.

Thank you for the time and effort for this humble student to get initiated in MSDN Development. fcZZ.


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.

Serving Silverlight Apps from Windows Mobile

  
Even if mobile dev is not my every day work, thanks to the .Net Compact Framework, it's still .Net programming.

Here is the scenario:

You come back home, you have a windows mobile phone wifi capable and you want to quickly get access to your phone pictures from your home network.
You just activate the Wifi, run my app and then browse to the provided link from any computer on the network.

Getting Started with Windows SharePoint Services

  
Of all of the capabilities of SharePoint, I thought I would start with the most basic installation - as a corporate intranet. It is likely that we will need to discuss some of the elements of SharePoint as we go along, so this also gives us the opportunity to review these elements for future reference.

Before going into too much detail, I would like to point out that you can try the core SharePoint framework (known as Windows SharePoint Services or WSS) for free. On Microsoft's Web site you can download a trial version of Virtual PC 2004 (VPC). Using VPC, you can install the Windows 2003 Evaluation Kit and the WSS add-on. This combination will give you 45 days to evaluate the setup.

Building a Searchable Phone Directory with Windows SharePoint Services

  
I want to continue to build out the intranet site we've started in our previous articles. A standard item in every intranet is a staff/employee list. Most companies implementing Windows SharePoint Services (WSS) are large enough to have a database that contains all employees. We will use the aggregation features of SharePoint to include data from this database into our intranet.

GridView Filtering In ASP.NET

  
In this tutorial you will learn how to add a filter to a Grid View Control, To modify the query with a parameterized filter, the WHERE Clause, Parameter properties, Parameter Value Editor and To test filtering.

Getting Started with Windows Communication Foundation

  
Windows Communication Foundation (WCF) provides a unified framework for rapidly building service-oriented applications that makes it easy to build and consume secure, reliable, and transacted Web services. It unifies the capabilities in ASMX, WSE, Remoting, COM+, and MSMQ; therefore developers need to learn only one programming model.
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