小编Jos*_*osh的帖子

Mono对.Net框架开发人员的限制

我想从.Net切换到Mono(加上Visual Studio到Mono中的任何IDE).这真的很难吗?

我将面临哪些问题?

谢谢

c# mono visual-studio-2008

9
推荐指数
1
解决办法
3427
查看次数

.Net框架是否可以免费用于商业用途?

我们有一位客户希望我们向他证明我们有权将.Net框架与我们的应用程序一起分发.

有人可以帮我吗?Microsoft是否有明确表示可以免费用于商业用途的链接?

.net

9
推荐指数
2
解决办法
1万
查看次数

单元测试如何比仅测试整个应用程序的输出更好?

我不明白单元测试如何可能受益.对于测试人员来说,测试整个输出整体而不是进行单元测试是不是足够了?

谢谢.

testing unit-testing

8
推荐指数
3
解决办法
565
查看次数

获取访问您网站的每个用户的ipaddress和位置

你如何通过Asp.Net获得你网站的每个网站的ipaddress和位置?

谢谢

javascript c# asp.net

8
推荐指数
1
解决办法
9569
查看次数

WCF多个绑定

当我尝试多个终点时,我收到以下错误..

System.ServiceModel.AddressAlreadyInUseException: The TransportManager failed to listen on the supplied URI using the NetTcpPortSharing service: the service failed to listen.
   at System.ServiceModel.Channels.SharedConnectionListener.SharedListenerProxy.Register()
   at System.ServiceModel.Channels.SharedConnectionListener.SharedListenerProxy.Open(Boolean isReconnecting)
   at System.ServiceModel.Channels.SharedConnectionListener.StartListen(Boolean isReconnecting)
   at System.ServiceModel.Channels.SharedConnectionListener..ctor(BaseUriWithWildcard baseAddress, Int32 queueId, Guid token, OnDuplicatedViaDelegate onDuplicatedViaCallback)
   at System.ServiceModel.Channels.SharedTcpTransportManager.OnOpenInternal(Int32 queueId, Guid token)
   at System.ServiceModel.Channels.SharedTcpTransportManager.OnOpen()
   at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
   at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
   at System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.ConnectionOrientedTransportChannelListener.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.TcpChannelListener`2.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.ReliableChannelListenerBase`1.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) …
Run Code Online (Sandbox Code Playgroud)

c# wcf wcf-binding

8
推荐指数
2
解决办法
1万
查看次数

使用NetTcpBinding的WCF服务库

我在使用NetTcpBinding时遇到了困难.

当我运行我的WCF服务时,我得到了这个:

System.InvalidOperationException: Could not find a base address that matches scheme net.tcp for the endpoint with binding NetTcpBinding. Registered base address schemes are [http].
   at System.ServiceModel.ServiceHostBase.MakeAbsoluteUri(Uri relativeOrAbsoluteUri, Binding binding, UriSchemeKeyedCollection baseAddresses)
   at System.ServiceModel.Description.ConfigLoader.LoadServiceDescription(ServiceHostBase host, ServiceDescription description, ServiceElement serviceElement, Action`1 addBaseAddress)
   at System.ServiceModel.ServiceHostBase.LoadConfigurationSectionInternal(ConfigLoader configLoader, ServiceDescription description, ServiceElement serviceSection)
   at System.ServiceModel.ServiceHostBase.LoadConfigurationSectionInternal(ConfigLoader configLoader, ServiceDescription description, String configurationName)
   at System.ServiceModel.ServiceHostBase.ApplyConfiguration()
   at System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses)
   at System.ServiceModel.ServiceHost.InitializeDescription(Type serviceType, UriSchemeKeyedCollection baseAddresses)
   at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
   at Microsoft.Tools.SvcHost.ServiceHostHelper.CreateServiceHost(Type type, ServiceKind kind)
   at Microsoft.Tools.SvcHost.ServiceHostHelper.OpenService(ServiceInfo info)
Run Code Online (Sandbox Code Playgroud)

当我使用WCFSvcHost默认运行应用程序时,我得到了这个.没有额外的代码.只需要任何新的wcf服务的默认代码.我想做的就是将绑定更改为tcp.

我该如何解决这个问题? …

.net c# wcf wcf-binding

7
推荐指数
2
解决办法
3万
查看次数

人们如何创建可重用的数据库?

人们如何制作可用于许多产品的可重用数据库?

例如,如果我们有一个专为学校设计的数据库......是否可以轻松修改以提供给大学?

创建可用作产品的数据库的方法是什么?通过一次编码为许多客户提供解决方案?

谢谢

database accounting product

6
推荐指数
1
解决办法
365
查看次数

WCF平台是独立的吗?

我只需要知道WCF是否像Webservices一样独立于平台?可以通过Java和Php访问WCF中的函数吗?

谢谢

wcf cross-platform

6
推荐指数
1
解决办法
5089
查看次数

6
推荐指数
2
解决办法
5047
查看次数

在提交点击时从asp.net mvc文本框获取价值

如何在asp.net mvc中检索文本框的值以将值存储到某个变量?

<%=Html.TextBox("testbox") %>在索引视图页面上有这样的文本框 .

我有一个像这样的按钮 <input type="submit" />

我正在使用打开新的mvc应用程序时出现的默认视图页面.

谢谢.

c# asp.net-mvc

6
推荐指数
1
解决办法
2万
查看次数