目前日期文章:200911 (13)

瀏覽方式: 標題列表 簡短摘要

昨天在使用 JMETER 連線到 SQL 2005 時, 一時出現 java.sql.SQLException: No suitable driver found for … 的錯誤訊息. 直到今天請一位 Java 高手協助, 才解決這個問題.

重點如下:

環境: JMETER 2.3.1 + Java 6 update 17 + Microsoft SQL Server JDBC Driver 2.0

將 sqljdbc4.jar 複製到 lib 目錄下.

主要設定:

資料庫 URL: jdbc:sqlserver://ServerName:Port;DatabaseName=DatabaseName

JDBC 驅動程式: com.microsoft.sqlserver.jdbc.SQLServerDriver

上述的兩個設定要小心, 因為可能與舊版的設定方有所不同.

Hope this helps.

anISV 發表在 痞客邦 PIXNET 留言(1) 人氣()

This download contains an installable version of Windows SharePoint Services 2010 Beta, that can be used to assess and test the new functionality in this release.

Download:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=906c9f5a-6505-4eba-bf24-95e423ac1703

anISV 發表在 痞客邦 PIXNET 留言(1) 人氣()

The Microsoft® Silverlight™ 4 SDK Beta contains online documentation, online samples, libraries and tools for developing Silverlight 4 applications.
Usage of the SDK is subject to the SDK License (included in the package).

 

Download:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=a53019b2-4370-4e8a-a940-518f538c759f

anISV 發表在 痞客邦 PIXNET 留言(0) 人氣()

    Windows Server AppFabric is a set of integrated technologies that make it easier to build, scale and manage Web and composite applications that run on IIS. Windows Server AppFabric targets applications built using ASP.NET, Windows Communication Foundation (WCF), and Windows Workflow Foundation (WF).


    It provides out-of-the-box capabilities for you to easily build and manage composite applications, including:
    • Enhanced design and development tools in Visual Studio to build rich composite applications
    • Management and monitoring of sevices and workflows via integration with IIS Manager and Windows PowerShell
    • Distributed in-memory application cache to improve application performance


    Windows Server AppFabric Beta 1 is available now for developers to start building their next-generation composite applications, and for administrators to host and manage them. It integrates technologies previewed as code name "Dublin" and code name "Velocity".

Download:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=0bd0b14f-d112-4f11-94bf-90b489622edd

anISV 發表在 痞客邦 PIXNET 留言(0) 人氣()

The Report a Webpage Problem Internet Explorer Add-on appears as a toolbar button and a “Report a Webpage Problem...” item on the Tools menu.

When the toolbar button is clicked or the menu item is chosen, the control takes a screenshot of the web page currently being viewed. A new tab is then opened containing a report submission form. A scaled down version of the screenshot will be visible at the bottom, and the user has a choice of whether or not to include the full-sized screenshot (choosing No to the “Include Screenshot?” question means no screenshot will be sent).

On the report submission page, the user also has the option to select a category best representing their observed problem. This category selection will be part of the report information returned to Microsoft.

A 1000 character limit comment field is provided, if the user chooses to include some description of the problem.

Additional data included in the report:
  • The protocol type (http, res, file, etc.) of the URL being reported.
  • The complete URL.
  • A numerical value representing the Document mode.
  • For more information about what data is sent and how it is used, see the Privacy Statement

Please visit the Internet Explorer Newsgroup to enter bug reports, comments, and suggestions.

Download:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=8e4cf8f2-84db-4df3-b2ec-c64ccf58e4bb

anISV 發表在 痞客邦 PIXNET 留言(0) 人氣()

Active Directory Federation Services 2.0, Windows Identity Foundation & Windows CardSpace comprise an identity & access solution to help developers and IT professionals simplify access to applications and other systems with an open claims-based model. Windows Identity Foundation helps simplify user access for developers by externalizing user access from applications via claims and reducing development effort with pre-built security logic and integrated .NET tools. Active Directory Federation Services 2.0 helps IT efficiently deploy and manage new applications by reducing custom implementation work, helping establish a consistent security model, and facilitating seamless collaboration between organizations with automated federation tools. Users can benefit from help navigating logins and controlling information sharing, using Windows CardSpace 2.0. The platform includes built-in interoperability via open industry standards and claims, and implements the industry Identity Metasystem vision for open and interoperable identity.
 
Microsoft’s identity and access solution includes:
 
  • Windows Identity Foundation for .NET developers,
  • Active Directory Federation Services 2.0 for IT Pros, and
  • Windows CardSpace 2.0 for users.

 
Available Here for Download
Datasheet - Updated for Beta 2
 
Whitepaper: Claims Based Access Platform
Learn about Microsoft’s claims-based identity and access solution. Read about Windows Identity Foundation, Active Directory Federation Services 2.0 and Windows CardSpace, and how they work together to help solve application access problems with a single simplified access model. Understand how claims can be used across a wide variety of scenarios including enterprise, federation and Web. In this paper new concepts and terminology are introduced to help architects, developers and IT professionals understand the benefits and concepts behind the claims-based model of identity. A background in developing, deploying or managing web applications and services that entail user authentication is expected. By David Chappell
 
Whitepaper: Windows Identity Foundation - Updated for WIF RTW
Get started building claims-aware applications using Windows Identity Foundation. In this paper concepts and terminology are introduced to help developers understand the benefits and concepts behind the claims-based model of identity. Security expertise is not required but familiarity with ASP.NET or WCF programming is. A background in building web applications or services that care about authentication and authorization is expected. As such, the focus of the paper is on building relying parties using the framework. By Keith Brown
 
Whitepaper: Windows Identity Foundation - Changes between Beta 2 and RTW
Get an overview of what are the new features added in release candidate (RC) of Windows Identity Foundation. For users of Windows Identity Foundation Beta-2 this document is a great resource that highlights the changes happened to the features existed in Beta-2.
 
Download:

anISV 發表在 痞客邦 PIXNET 留言(0) 人氣()

The Microsoft Project 2010 (Beta) SDK contains documentation, code samples, "How to" articles, and programming references to help customize and integrate the Project 2010 clients and Project Server 2010 with other applications for enterprise project management.

Download:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=46007f25-b44e-4aa6-80ff-9c0e75835ad9

anISV 發表在 痞客邦 PIXNET 留言(0) 人氣()

The Microsoft SharePoint 2010 (Beta) software development kit (SDK) contains conceptual overviews, programming tasks, samples, and references to guide you in developing solutions based on SharePoint 2010 products and technologies.

Download:

SharePoint 2010 Reference- Software Development Kit

anISV 發表在 痞客邦 PIXNET 留言(0) 人氣()

這一版加入了有關除錯及 Logging 及 直接管理 Virtual Machine 的功能。

Download them here.


New in the November 2009 SDK:

1. Windows Azure Service Runtime managed library: The latest version of the Service Hosting Runtime API includes support for enhanced communication between roles and for runtime notification of service configuration changes. Direct communication between role instances enables new application development scenarios, including applications that distribute state across role instances. Service configuration changes include an increase or decrease in the number of request role instances and changes to the values of configuration settings.

2. Windows Azure Diagnostics managed library: The new Diagnostics API enables logging using standard .NET APIs. The Diagnostics API provides built-in support for collecting standard logs and diagnostic information, including the Windows Azure logs, IIS 7.0 logs, Failed Request logs, crash dumps, Windows Event logs, performance counters, and custom logs.

3. Certificate Management: Enhanced support for SSL certificates in Windows Azure and in the Windows Azure SDK enables the secure automated deployment of certificates to services hosted on Windows Azure.

4. Variable-size Virtual Machines : Developers may now specify the size of the virtual machine to which they wish to deploy a role instance, based on the role's resource requirements. The size of the VM determines the number of CPU cores, the memory capacity, and the local file system size allocated to a running instance.

5. External endpoints for worker roles. A worker role may now define any number of external endpoints for HTTP, HTTPS, and TCP, and specify the desired port number for any external endpoint.

6. Persistent local resource storage: Developers can now choose to persist data written to a local storage resource at runtime when the role is recycled.

7. Windows Azure Storage Client managed library: The Storage Client library provides a .NET API for accessing the Windows Azure storage services.

8. Improved Development Storage: Development storage provides a high-fidelity simulation of the Windows Azure storage services in the cloud. Tables can now be created dynamically in the development storage Table service and are no longer required to be generated in advance.

9. Updated samples: The samples included with the Windows Azure SDK have been updated to demonstrate new features. The samples now include both C# and Visual Basic versions.

 

Enjoy.

anISV 發表在 痞客邦 PIXNET 留言(0) 人氣()

一個團隊在共同開發專案時,我們可能會每天都使用『取得最新版本的程式碼』,來確保自己本機端的程式碼是最新的,我們也可以透過Visual Studio 的設定,讓專案開啟時,即自動取得最新版本的程式碼。

步驟:

To get the latest version automatically

1. In Visual Studio, on the Tools menu, click Options.

2. In the Options dialog box, click Source Control, then click Environment.

3. Select the Get everything when a solution or project is opened check box.

4. Click OK.

clip_image002

Enjoy.

anISV 發表在 痞客邦 PIXNET 留言(0) 人氣()

 

Problem:

之前在專案中, 有測到一個疑似一個 .NET Framework Regex 的 bug?

例如使用 PATTERN = “\w”

\w表示任何一個字元與數字以及 '_' ,意同 [a-zA-Z0-9_]

輸入全形英數字及中文字可以通過在 Server side 的 Regular expression 檢查

但相同的 pattern 在 Javascript 的 Regular expression 是不會過的

最近找到答案了…

Root Cause:

    Server side RegExp uses a different regular expression engine than JavaScript.

Solution:

    You can get compatible behavior by using a RegexOptions.EcmaScript with your Regex.

    Regex regexp = new Regex("\\w", RegexOptions.ECMAScript);

    For more information:

    RegexOptions 列舉型別

    http://msdn.microsoft.com/zh-tw/library/system.text.regularexpressions.regexoptions.aspx

    ECMAScript vs. Canonical Matching Behavior

    http://msdn.microsoft.com/en-us/library/04ses44d(VS.71).aspx

Sample:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="RegExpApp._Default" %>
<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Text.RegularExpressions" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<script language="javascript" type="text/javascript">
function testRegExp()
{
var email = document.getElementById("<%=txtEmail.ClientID %>").value;
var regexp = new RegExp("\\w");
if (email.match(regexp)) {
alert("Successful match");
} else {
alert("No match");
}
}
</script>


<script runat="server">
protected void btnNETRegExp_Click(object sender, EventArgs e)
{
Regex regexp;

if (chkECMAScript.Checked)
{
regexp = new Regex("\\w", RegexOptions.ECMAScript);
}
else
{
regexp = new Regex("\\w");
}

if(regexp.IsMatch(txtEmail.Text))
{
Response.Write("Successful match");
}
else{
Response.Write("No match");
}

}


</script>

</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
<br />
<br />
<asp:Button ID="btnNETRegExp" runat="server" Text="NET RegExp" OnClick="btnNETRegExp_Click" />
&nbsp;&nbsp;&nbsp;
<asp:CheckBox ID="chkECMAScript" runat="server" />
<br />
<br />
<input id="btnJSRegExp" type="button" value="JavaScript RegExp" onclick="testRegExp();" /></div>
</form>
</body>
</html>

 

Hope this helps.

anISV 發表在 痞客邦 PIXNET 留言(0) 人氣()

WOW. 這真是讓我驚呀的一則消息.

原文在:

http://www.microsoft.com/presspass/press/2009/nov09/11-09teamprisepr.mspx

為何驚呀? 因為微軟對於自家產品與其它廠牌的產品間的整合, 多半是透過 ISV 廠商來做.

這代表使用 Eclipse IDE 或使用 Unix, Linux and Mac OS X 平台的開發人員, 可以直接的使用 Microsoft Visual Studio Team Foundation Server 來建置他們的應用程式.

也意味著 TFS 真正可以更輕鬆的做到跨平台的支援.

筆者大膽預測, Visual Studio Lab Management 之後的版本也有可能做到跨平台的 Automation testing?

若真的可以, 那真是解決了目前專案中, 輕鬆實現在跨平台自動化測試的問題了.

Enjoy.

anISV 發表在 痞客邦 PIXNET 留言(0) 人氣()

Facebook (書臉) SDK, 讓我們可以輕鬆的將 Facebook 應用程式與 ASP.NET, ASP.NET MVC, WinForms or Silverlight 整合在一起.

 

The toolkit is comprised of the following core assemblies:

  • Facebook.dll: This is the main assembly that will be used by all applications. This has all the logic to handle communication with the Facebook application. This assembly also has specific support of XAML applications (Silverlight and WPF) to enhance the Facebook platform to make databinding and data caching easier.
  • Facebook.Silverlight.dll: This is the Silverlight version of the main assembly that will be used by all Silverlight applications. This has all the logic to handle communication with the Facebook application. This assembly also has specific support of XAML applications to enhance the Facebook platform to make databinding and data caching easier. The REST API in this assembly is Asynchronous only.
  • Facebook.Web.dll: This assembly should be used by Canvas applications. The main functionality supported in this assembly is to encapsulate the handshake between the Facebook application and a canvas application (both FBML and IFrame)
  • Facebook.Web.Mvc.dll: Provide a support building canvas applications using ASP.NET MVC. Separated from Facebook.Web.dll to avoid all developers from needing to install the MVC bits.
  • Facebook.Winforms.dll: This assembly provides support for writing Facebook applications using Winform technology. This provides a Component that wraps the API to make it easier to use from Winforms. This also contains some user controls to help display Facebook data easily.

更多資訊:

http://msdn.microsoft.com/en-us/windows/ee388574.aspx

anISV 發表在 痞客邦 PIXNET 留言(1) 人氣()