----------------------------------------------------------------------------------------------------------------------------------------

Package managers for external libraries

  • NuGet (formerly known as NuPack) - Microsoft (developer-focused package management system for the .NET platform intent on simplifying the process of incorporating third party libraries into a .NET application during development)
  • OpenWrap - Sebastien Lambla - Open Source Dependency Manager for .net applications

Build Tools

  • Prebuild - Generate project files for all VS version, including major IDE's and tools like SharpDevelop, MonoDevelop, NAnt and Autotools

Dependency Injection/Inversion of Control

Logging

Validation

Design by Contract

Compression

Ajax

Data Mapper

ORM

Charting/Graphics

PDF Creators/Generators

Unit Testing/Mocking

Automated Web Testing

Misc Testing/Quality Support/Behavior Driven Development (BDD)

URL Rewriting

Web Debugging

  • Glimpse - Firebug for your webserver

Controls

MS Word/Excel Documents Manipulation

  • DocX to create, read, manipulate formatted word documents. Easy syntax, working nicely, actively developed. No Microsoft Office necessary.
  • Excel XML Writer allows creation of .XLS (Excel) files. No Microsoft Office necessary. Been a while since it has been updated. It also provides code generator to create code from already created XLS file (saved as xml). Haven't tested this but looks very promising. Too bad author is long time gone.
  • Excel Reader allows creation/reading of .XLS (Excel) files. No Microsoft Office necessary. Been a while since it has been updated.
  • Excel Package allows creation/reading of .XLSX (Excel 2007) files. No Microsoft Office necessary. Author is gone so it's out of date.
  • EPPlus is based on Excel Package and allows creation/reading of .XLSX (Excel 2007). It is actually the most advanced even comparing to NPOI.
  • NPOI is the .NET version of POI Java project at http://poi.apache.org/. POI is an open source project which can help you read/write xls, doc, ppt files.

Social Media

  • LinqToTwitter - Linq-based wrapper for all Twitter API functionality in C#
  • Facebook C# SDK - A toolkit for creating facebook applications / integrating websites with Facebook using the new Graph API or the old rest API.

Serialisation

  • sharpserializer - xml/binary serializer for wpf, asp.net and silverlight
  • protobuf-net - .NET implementation of google's cross-platform binary serializer (for all .NET platforms)

Unclassified

Posted by 홍상길 홍상길

댓글을 달아 주세요

Microsoft 에서 제공 하고 있는 ControlTemplate Examples 입니다.

ListBox, TreeView등등의 컨트롤에 기본적으로 적용되어있는 Template을 확인 할 수 있습니다.

컨트롤에 맞는 Template 으로 커스터 마이징이 가능 합니다.

 

[제공 Template]

n  Button ControlTemplate Example

n  CheckBox ControlTemplate Example

n  ComboBox ControlTemplate Example

n  ComboBoxItem ControlTemplate Example

n  ContextMenu ControlTemplate Example

n  DocumentViewer ControlTemplate Example

n  Expander ControlTemplate Example

n  Frame ControlTemplate Example

n  GroupBox ControlTemplate Example

n  Label ControlTemplate Example

n  ListBox ControlTemplate Example

n  ListBoxItem ControlTemplate Example

n  ListView ControlTemplate Example

n  ListViewItem ControlTemplate Example

n  Menu ControlTemplate Example

n  MenuItem ControlTemplate Example

n  NavigationWindow ControlTemplate Example

n  ProgressBar ControlTemplate Example

n  RadioButton ControlTemplate Example

n  ScrollBar ControlTemplate Example

n  ScrollViewer ControlTemplate Example

n  Slider ControlTemplate Example

n  StatusBar ControlTemplate Example

n  TabControl ControlTemplate Example

n  TabItem ControlTemplate Example

n  TextBox ControlTemplate Example

n  ToolBar ControlTemplate Example

n  ToolTip ControlTemplate Example

n  TreeView ControlTemplate Example

n  TreeViewItem ControlTemplate Example

n  Window ControlTemplate Example

 

다운로드는 아래 사이트에서 받아가세요!

 

 

ControlTemplate Examples : http://msdn.microsoft.com/en-us/library/vstudio/aa970773(v=vs.90).aspx

Posted by 홍상길 홍상길

댓글을 달아 주세요

Behind Code에서 Master Page의 Title 변경 하는 방법에 대해 알아 보겠습니다.

 

// Master Page에 등록되어있는 PlaceHolder 명과 설정할 Title 값을 매개변수로 입력 합니다. 

         private void SetTitle(string placeHolderName, string title)
        {
            try
            {

// 현재 페이지의 MasterPage의 PlaceHolder을 가져옵니다. 

                ContentPlaceHolder contentPlaceHolder = (ContentPlaceHolder)Page.Master.FindControl(placeHolderName);
                contentPlaceHolder.Controls.Clear();
                LiteralControl literalControl = new LiteralControl();
                literalControl.Text = title;

// Title을 등록 한 후 가져온 PlaceHolder Control에 입력 합니다. 

                contentPlaceHolder.Controls.Add(literalControl);
            }
            catch {
            }
        }

 

함수 호출은 아래와 같이!!

SetTitle("PlaceHolderPageTitle", "타이틀수정!");
Posted by 홍상길 홍상길

댓글을 달아 주세요

출처 : http://social.technet.microsoft.com/Forums/ko-KR/sharepointportalserverko/thread/12c26c48-cee3-4cd8-865b-ece9bfbf81c1

 

제 경우는 IIS POOL 중에 SecurityTokenServiceApplicationPool이 중지 되어 있어서 오류가 발생 했네요.

다시 시작 했더니 해결 되었습니다.

 

아래 해결 방안 참고하세요!

 

[해결 방안]
Step1> You can try to re-run SharePoint 2010 products configuration wizard to see any problems that still exist.
Step2> Go to IIS and see the status of SecurityTokenServiceApplicationPool service, whether it is stopped or not, restart the pool.
Step3> Go to manage web application services, review the status of Security Token Service application , try to restart.
Step4> In Central Administration>Security>Configure Service Account>Change the service account for the Security Token Service application to some other managed account.
Step5> If the issue persists, try the resolution in this blog: http://blogs.msdn.com/b/sowmyancs/archive/2010/07/16/sharepoint-2010-service-applications-bcs-metadata-access-service-are-not-working.aspx

Posted by 홍상길 홍상길

댓글을 달아 주세요

C# Web Project를 이용해 SP 서버의 사이트, 목록등에 대한 구조를 가져오는 방법입니다.

 

※ 주의 : Debug 시 x64 로 설정 하셔야 합니다.

 

[using]

using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;

 

[code]

             // Site 가져오기
            SPSite root = new SPSite("http://moros/"); // SP 사이트 명 입력

 

            SPSiteCollection siteCol = root.WebApplication.Sites;

 

            // SiteCollection 루프
            foreach (SPSite site in siteCol)
            {
                // Site URL 출력
                Response.Write(site.Url.ToString()+"<br>");
                // Web 루프
                foreach (SPWeb web in site.AllWebs)
                {
                    // Web Title 출력
                    Response.Write(web.Title + "<br>");
                    // List 루프
                    foreach (SPList list in web.Lists)
                    {
                        // List Title 출력
                        Response.Write(list.Title + "<br>");
                        // ListItem 루프
                        foreach (SPListItem item in list.Items)
                        {
                            // ListItem Title 출력
                            Response.Write(item.Title + "<br>");
                        }
                    }
                }
            }

Posted by 홍상길 홍상길

댓글을 달아 주세요


블로그 이미지
홍상길

공지사항

Yesterday26
Today18
Total293,598

달력

 « |  » 2019.9
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          

최근에 달린 댓글

글 보관함