silverlight

Which, if any, recent Windows updates should I uninstall to revivify Silverlight or rectify other problems?

喜欢而已 提交于 2020-01-25 11:50:47
问题 All of a sudden, a large asp.net project stopped working, without any code changes relevant to the problem. As we are using Visual Studio 2010 here at work, I uninstalled the Update for Visual Studio 2012 (KB2781514), which perhaps had been installed because I installed a version of Visual Web Developer Express. Anyway, whether or not uninstalling that update fixed the problem, I don't know, because it is perhaps prior to the spot where a permissions/authentication error was occurring in the

.NET stop waiting for a database event which does not arrive

让人想犯罪 __ 提交于 2020-01-25 10:54:06
问题 I'm working on a really big project developed by two teams, one (mainly) for the database, and one (where I am) mainly for the GUI and helper classes as an interface between GUI and DB. Obviously, there are errors in communication, and - of course - we can't assume 100Mbit bandwidth & super-fast server computer. Language is C# .NET, target "framework" is WPF and Silverlight. When a user clicks a button, the GUI asks the DB (through helper classes) for information. Let's say... pizza types.

[导入]习惯了,

牧云@^-^@ 提交于 2020-01-25 10:47:56
不知道过了多长时间了,好久没有写和技术有关的的东西了。这段时间有些懈怠,总懒得学习。真是的,落后了。vs2008 beta 2 出了中文版,开始感觉挺兴奋的,又有新东西了,想想自己学vs2005的时间,那是多么的有精神,一个一个奇迹,真的太兴奋了。感觉有太多东西要学了,最近看 silverlight( http://silverlight.cn/Default.aspx )真的学了不少东西,最近做视频服务器,对视频这块很敏感,看到silverlight提供的播放器,真是酷呆了了。想呀,什么时候我也能做一个,就好了。这门技术的中文资料还很少,期盼这正式版的能早点出来,好好学学。真后悔当时没有学好英语,要不我也可以做技术的推广者了,不过还好了。能洞察到最新的技术,不过没有刚开始的那份激情了。不过也会好好的去学,毕竟这和以后的自己的工作有关。 文章来源: http://wangjikun3.bokee.com/viewdiary.18194460.html 来源: https://www.cnblogs.com/wangjikun3/archive/2008/03/27/1125136.html

Is iso-8859-1 supported in Silverlight?

℡╲_俬逩灬. 提交于 2020-01-25 10:08:08
问题 this is a simple question: does Silverlight (3.0?) support this kind of encoding? Encoding c = Encoding.GetEncoding("iso-8859-1"); Calling this function in Silverlight 3.0 generate the following error. 'ISO-8859-1' is not a supported encoding name. Parameter name: name My idea is to parse some file client side and then upload only those part needed for my application. I know that I could upload the whole file and parse it server side but right now could be better having the feature client

Is iso-8859-1 supported in Silverlight?

ぃ、小莉子 提交于 2020-01-25 10:07:47
问题 this is a simple question: does Silverlight (3.0?) support this kind of encoding? Encoding c = Encoding.GetEncoding("iso-8859-1"); Calling this function in Silverlight 3.0 generate the following error. 'ISO-8859-1' is not a supported encoding name. Parameter name: name My idea is to parse some file client side and then upload only those part needed for my application. I know that I could upload the whole file and parse it server side but right now could be better having the feature client

WCF Service Hosted in Windows Service over net tcp

橙三吉。 提交于 2020-01-25 07:23:04
问题 In my project I have one WCF Service which is hosted in a Windows Service. I hosted the WCF Service in Windows Service over netTCPBinding and Installed Windows Service. To access WCF service in my silverlight project I have added service reference of wcf. But, when I am calling a method in WCF Service am getting the following error : Could not connect to net.tcp://localhost:8732/WCFHost/. The connection attempt lasted for a time span of 00:00:03.2951885. TCP error code 10013: An attempt was

Windows Phone 8: How to show messagebox right before exiting the App if pressed Back key?

China☆狼群 提交于 2020-01-25 06:57:05
问题 I have an app that needs to get user's attention when user exit the app at least once. So I get the code below to show a messagebox. What I don't know is how do I really exit the app if user has read the message? Because it seems the back key event will always come to the call I setup (OnBackKeyPress) Or what is a good way to handle showing a messagebox without messing around overriding BackKey? Because if have another pop up on screen and user pressed back key, it seems I got some exception

How do I get the Silverlight Pivot Server application to run on IIS 6?

旧街凉风 提交于 2020-01-25 04:10:33
问题 How do I get the Pivot Server Application to run on IIS 6? The handlers for the cxml don't seem to be registering properly, because I get a 404 for requests to .cxml files. The closest solution I can see so far is on http://forums.silverlight.net/forums/p/192470/454278.aspx , but this doesn't seem to be the right way to do it. I see the handlers in the web.config under both system.webserver/handlers and system.web/httpHandlers. 回答1: In addition to the extension mappings proposed by gsimard on

Firefox and Silverlight

微笑、不失礼 提交于 2020-01-25 04:06:06
问题 I'm developing a silverlight site, using deepzoom. When I call a function to ArrangeImages(), in IE, the image arranges correctly, using 100% of the screen. In Chrome it works as well. In Firefox, though, the msi container only uses around 80% of the screen. I'm resizing it using these 2 lines of code below: msi.Height = App.Current.Host.Content.ActualHeight; msi.Width= App.Current.Host.Content.ActualWidth; Any idea on how to solve this, or why the heck is this happening? Thanks for your help

Silverlight实例教程 – Datagrid,Dataform数据验证和ValidationSummary

百般思念 提交于 2020-01-24 23:54:24
上一篇,我们讨论了,捕获用户提交数据验证。本篇将集中讨论Datagrid和Dataform两个数据控件的数据验证方法,其中,我们会附加介绍一个新的验证控件ValidationSummary。 概述 Datagrid和Dataform是Silverlight中最常用的两个数据控件,其主要目的是作为数据集合的载体控件。这两个控件不仅支持自动数据绑定,而且允许用户添加许多自定义行为操作,例如编辑,排序,删除,添加等。而在日常项目开发中,经常会碰到用户在编辑,或者添加时对数据的验证判断,在数据commit前,即捕获数据异常并返回提示信息到客户端。 ValidationSummary控件 在Datagrid和Dataform数据验证中,最为常用的是 ValidationSummary控件 ,该控件和WebForm中的ValidationSummary控件类似,其功能都是将错误信息集合显示在一个ListBox控件中。简单的说,ValidationSummary控件是一个能够容纳验证错误集合的容器,能够检测和显示当前页面所有验证结果到客户端。 命名控件 :System.Windows.Controls 装配 :System.Windows.Controls.Data.Input (位于 System.Windows.Controls,Data.Input.dll) 我们仍旧使用上一篇的源代码项目