Click here to Skip to main content
15,886,963 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Project Output Type Class Library and Windows Application Pin
Ashfaque Hussain20-Nov-14 1:11
Ashfaque Hussain20-Nov-14 1:11 
GeneralRe: Project Output Type Class Library and Windows Application Pin
cjb11020-Nov-14 3:06
cjb11020-Nov-14 3:06 
QuestionAdd a table to a DockPanel Pin
zhshqzyc31-Oct-14 8:56
zhshqzyc31-Oct-14 8:56 
AnswerRe: Add a table to a DockPanel Pin
Mycroft Holmes31-Oct-14 13:44
professionalMycroft Holmes31-Oct-14 13:44 
GeneralRe: Add a table to a DockPanel Pin
zhshqzyc31-Oct-14 15:51
zhshqzyc31-Oct-14 15:51 
GeneralRe: Add a table to a DockPanel Pin
Mycroft Holmes2-Nov-14 21:07
professionalMycroft Holmes2-Nov-14 21:07 
QuestionProblem connection database Silverlight project Pin
Hi I am Kevin29-Oct-14 5:55
Hi I am Kevin29-Oct-14 5:55 
AnswerRe: Problem connection database Silverlight project Pin
Mycroft Holmes31-Oct-14 13:38
professionalMycroft Holmes31-Oct-14 13:38 
No one is going to be able to help you with so little information and setting up a WCF config is difficult. What I do is to split the project into 2, WCF and UI.

I then build the wcf and run it locally and test the connection using the Wcf Test Client and pull back the GetData.

I then change the web config and include the client access policy and cross domain xml files. Youwill need to find a couple of decent examples to work from, this is my config file

XML
<?xml version="1.0" encoding="UTF-8"?>
<configuration>

  <configSections>
  </configSections>
  <system.web>
    <compilation debug="true" targetFramework="4.0" />
		<httpRuntime maxRequestLength="40000"/>
		<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm" />
	</system.web>
	<system.serviceModel>
		<bindings>
			<basicHttpBinding>
				<binding name="BasicBinding"
         maxReceivedMessageSize="2147483647">
					<readerQuotas  maxDepth="64"
             maxStringContentLength="2147483647"
             maxArrayLength="2147483647"
             maxBytesPerRead="4096"
             maxNameTableCharCount="16384" />
				</binding>
			</basicHttpBinding>
		</bindings>
		<services>
   <service behaviorConfiguration="XXXPSsvcBehavior" 
						name="XXXPS.WCF.XXXPSsvc">
    <endpoint address="XXXPSWCF" 
							bindingConfiguration="BasicBinding"
							binding="basicHttpBinding" 
							contract="XXXPS.WCF.IXXXPSsvc" />
   </service>
  </services>
		<behaviors>
			<serviceBehaviors>
				<behavior name="XXXPSsvcBehavior">
					<serviceMetadata httpGetEnabled="true" />
					<serviceDebug includeExceptionDetailInFaults="True" />
				</behavior>				
			</serviceBehaviors>
		</behaviors>
		<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
		<!--<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />-->
	</system.serviceModel>
	<system.webServer>
		<modules runAllManagedModulesForAllRequests="true" />
		<directoryBrowse enabled="true" />
	</system.webServer>

	<appSettings>		
		<add key="DBServer" value="ServerName.arvixe.com" />
	</appSettings>
</configuration>

Never underestimate the power of human stupidity
RAH

QuestionWPF Navigation system Pin
Hi-I-am-Tang29-Oct-14 4:58
Hi-I-am-Tang29-Oct-14 4:58 
AnswerRe: DataTransferManager RT Only? Pin
Richard Deeming27-Oct-14 11:56
mveRichard Deeming27-Oct-14 11:56 
GeneralRe: DataTransferManager RT Only? Pin
Richard Deeming28-Oct-14 4:14
mveRichard Deeming28-Oct-14 4:14 
GeneralRe: DataTransferManager RT Only? Pin
Richard Deeming28-Oct-14 7:34
mveRichard Deeming28-Oct-14 7:34 
GeneralRe: DataTransferManager RT Only? Pin
Richard Deeming28-Oct-14 8:42
mveRichard Deeming28-Oct-14 8:42 
QuestionWPF MVVM VALIDATION Pin
Arun Karuvatta23-Oct-14 22:08
professionalArun Karuvatta23-Oct-14 22:08 
AnswerRe: WPF MVVM VALIDATION Pin
Pete O'Hanlon23-Oct-14 22:42
mvePete O'Hanlon23-Oct-14 22:42 
QuestionWPF or MVC 4 Problem? Pin
Kevin Marois18-Oct-14 17:38
professionalKevin Marois18-Oct-14 17:38 
AnswerRe: WPF or MVC 4 Problem? Pin
Richard Deeming20-Oct-14 1:51
mveRichard Deeming20-Oct-14 1:51 
RantWPF - Why? Pin
SteveHolle17-Oct-14 6:20
SteveHolle17-Oct-14 6:20 
GeneralRe: WPF - Why? Pin
Gerry Schmitz17-Oct-14 11:07
mveGerry Schmitz17-Oct-14 11:07 
GeneralRe: WPF - Why? Pin
RedDk17-Oct-14 11:29
RedDk17-Oct-14 11:29 
GeneralRe: WPF - Why? Pin
SteveHolle6-Nov-14 4:18
SteveHolle6-Nov-14 4:18 
GeneralRe: WPF - Why? Pin
Mycroft Holmes17-Oct-14 13:51
professionalMycroft Holmes17-Oct-14 13:51 
GeneralRe: WPF - Why? Pin
SteveHolle6-Nov-14 4:22
SteveHolle6-Nov-14 4:22 
GeneralRe: WPF - Why? Pin
Mycroft Holmes6-Nov-14 11:36
professionalMycroft Holmes6-Nov-14 11:36 
GeneralRe: WPF - Why? Pin
Gary R. Wheeler8-Nov-14 3:12
Gary R. Wheeler8-Nov-14 3:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.