| Jason さんのプロフィールHunt Blogブログリスト | ヘルプ |
Hunt Blogusing System.Hunt.Jason.Blog; 11月4日 MVVM Pattern - A Consolidation of ResourcesI am just getting started with the MVVM Pattern. I have been accumulating information that is starting to spill over. I figured it was time to consolidate the information into a post.
Model-View-ViewModel Pattern
Introduced in 2005 by John Gossman, the Model-View-ViewModel pattern enables loose coupling between the view, its related code, and the model, resulting in increased testability, flexibility, and maintainability of the application. Jason Dolinger, Senior Engineer at Lab49 has an excellent presentation (1hr 30min) on the evolution of building MVVM applications from a classic WinForms perspective to using MVVM as well as a blog post that contains links to the original source code for the presentation. In his presentation, Jason ignores the 'Model' component of the MVVM pattern. Josh Smith and Craig Shoemaker's MVVM video for WPF addresses the relationship between the Model and ViewModel (as well as other things).
Additional Resources
10月22日 Publishing ClickOnce Applications to Run Side-by-side for Different Environments from the Command Line using NantNote:
The following information relates to .NET 3.5 and NAnt 0.85.
Preamble
I struggled with this for quite some time. I was trying to run a command-line, clickonce deployment of my application to enable it to run side-by-side for the different environments (development, quality assurance, user acceptance testing, and production). Kavinda Munasinghe's blog post, Deploying ClickOnce on Multiple Environments was a fantastic start. It also referenced a former coworker, Neil Bourgeois, and his post, Click Once deployment using NAnt. Neil's article looked like too much manual lifting as MSBuild should have the ability to take in some command-line parameters to do this properly as it is possible to accomplish the goal os side-by-side applications if performed within visual studio. The problem was figuring out which command-line switches to pass to MSBuild to get it to work.
The Keys are 3
The Result I have one exec task in my nant script that takes in parameters that are set by running a target specific to the intended environment: <!-- deployment properties --><property name="publisher.name" value="My Company Name" /> <property name="publish.output.base.dir" value="\\UNCLocation\Deployment\ProductName" /> <property name="product.name.base" value="ProductName" /> <property name="product.name" value="SET_BY_TARGET__DO_NOT_CHANGE_HERE" /> <property name="build.label" value="SET_BY_TARGET__DO_NOT_CHANGE_HERE" /> <property name="publish.output.dir" value="SET_BY_TARGET__DO_NOT_CHANGE_HERE" /> <property name="manifest.certificate.thumbprint" value="SET_BY_TARGET__DO_NOT_CHANGE_HERE" /> <property name="manifest.key.file" value="SET_BY_TARGET__DO_NOT_CHANGE_HERE" /> <target name="deploy.to.dev"> <target name="deploy.common"> There are a few extra items in there that force this application to be installed locally as well as always remain at the latest version that are not applicable to this post, but I am leaving them in there for completeness.
10月19日 Adventures in Installing Adventureworks Database on SQL Server 2008 ExpressI was wasting plenty of time trying to get the AdventureWorks Database Samples installed on SQL Server 2008 Express this afternoon. The problem was, 1) that the Full-Text Search service does not install via the Microsoft Web Platform Installer, 2) FILESTREAM was not installed, 3) MSI installer for AdventureWorks Database Samples failed fast and wouldn't install the databases.
Then I ran the script from the command line by executing sqlcmd -S <machine name>\SQLEXPRESS -i instawdb.sql Adventureworks successfully installed... finally!
AdventureWorks Installer Fails:
2. And then receiving the ended prematurely dialog with the gracious opportunity to finish with no further information.
10月15日 Cursory Look at WPF Control Suite Vendor Offerings (Part 2 of 2)I conducted an investigation into WPF control suites for my client. I was graciously permitted to present the information I was able to drum up from the different vendor's websites. Apology: Live Spaces has a size limit for their blog posts ("This entry contains too much text. Please remove some text, and then publish this entry. To publish more text, add a new entry.") so I had to publish this in two posts. Vendor Suites in previous post: ComponentOne, Telerik, Actipro, Xceed, DevExpress. Infragistics Product: NetAdvantage for WPF - Online Demo Includes: Data Grid, Carousel, Data Presenter, Chart, Carousel Listbox, Carousel Panel, Dock Manager, Month Calendar,Outlook Bar, Tab Control, Ribbon, Editors, Excel Export/Import, Reporting.
Syncfusion Product: Essential Studio WPF Edition - Online Demo Includes: Data Grid, Tools - Ribbon/Docking/Editors/Menus/MDI, Chart, Diagram, Editors - with highlighting, Gauge.
Product: UI ControlSuite .NET Enterprise edition Includes: Slideshow, Control resizer, ScrollViewer and ScrollBar, Grid and TreeListView, Ribbon, UI Virtualizing WrapPanel, Content flip / rotation capable Content control, Tab/Navigation, ListBox, and Color picker.
Nextwave Product: Nextwave Suite 2.5 for WPF - Dashboard Samples Includes: Chart for WPF, and Nextwave Gauge for WPF
Cursory Look at WPF Control Suite Vendor Offerings (Part 1 of 2)I conducted an investigation into WPF control suites for my client. I was graciously permitted to present the information I was able to drum up from the different vendor's websites. Apology: Live Spaces has a size limit for their blog posts ("This entry contains too much text. Please remove some text, and then publish this entry. To publish more text, add a new entry.") so I had to publish this in two posts. Vendor Suites in next post: Infragistics, Syncfusion, Binary Mission, Nextwave.
ComponentOne Product: Studio for WPF - Online Demo
Includes: Chart, Gauges, Grid, HyperPanel, MaskedTextBox, NumericBox, RangeSlider, Reports,Scheduler.
Product: RadControls for WPF - Online Demo Includes: Calendar, Carousel, Chart, ColorPicker, ComboBox, DatePicker, Docking, Drag & Drop, Expander, Gauge,GridView, Masked Textbox, Numeric Up/Down, OutlookBar, PanelBar, ProgressBar, Scheduler, Slider, TabControl,TileView, TimePicker, ToolBar, TreeView, Window.
Actipro Product: WPF Studio for WPF - Online Demo
Includes: Bar Code, Data Grid, Docking and MDI, Editors, Guage, Navigation, Property Grid, Ribbon, Syntax Editor,Wizard, and Shared Library Licensing :
Xceed Product: Xceed Ultimate Suite - Online Demo Includes: 3D Views, DataGrid (professional), DataGrid (standard), Editors, Glass Theme, Media Theme, Office 2007 Theme, Professional Themes
DevExpress Product: DevExpress WPF Product Line - Online Grid Demo Includes: Data Grid, Charting, Toolbar-Menu System, Dock Windows, Printing-Exporting Library, Data Editors, Navigation Pane, and Carousel.
|
|
|||
|
|